Re:Show HN: A curated set of colour combinations
by spennant on Tuesday April 07, 2020 @09:56AM
(#22803218)
I pasted a couple of these into ShapeFactory's Duotone and got really nice results ( #3 https://duotone.shapefactory.co/?f=3a97d4&t=1a2037 ) For the curious, what their tool seems to be doing is: 1) grabbing a photo from Unsplash, 2) cranking down the color saturation to "-100" (essentially making it B&W) , 3) embedding it into an SVG and applyig a filter that leverages 'feColorMatrix'. Very clever.
Re:Show HN: A curated set of colour combinations
by eddyg on Tuesday April 07, 2020 @09:36AM
(#22803059)
I wasn't sure what "only AA accessible" referred to, but apparently it's a rating[0] to mean at least a contrast ratio of 4.5:1 (a "AAA" rating requires a 7:1 contrast ratio).
This site[1] lets you check the rating for any color combination, if you're curious.
Re:Show HN: A curated set of colour combinations
by Tagbert on Tuesday April 07, 2020 @09:41AM
(#22803098)
most of those are complementary color combinations. those are colors that are opposite each other on a color wheel. They can seem to “vibrate” due to the high contrast in different color channels (RGB). They are sometimes used for attention getting but are not suitable for longer text blocks.
Re:Show HN: A curated set of colour combinations
by gnulinux on Tuesday April 07, 2020 @11:20AM
(#22804019)
I wish there was a curated set of color palettes. I'm really bad at colors, but occasionally enjoy drawing/designing things. But colors always confuse since I have no idea which ones to pick, there are infinitely many of them!
To check the colours on a page (and many other accessibility violations) you can use a bookmarklet like HTML Codesniffer ( https://squizlabs.github.io/HTML_CodeSniffer/ ), the tools that are integrated with Firefox and Chrome's devtools, or CLI tools like Axe or Pa11y.
Re:Show HN: A curated set of colour combinations
by mhb on Tuesday April 07, 2020 @08:31AM
(#22802551)
Very nice. I don't know if it would be useful but it would be interesting to have a link to where a combination was seen on the web (for the ones that were found there).
This site[1] lets you check the rating for any color combination, if you're curious.
[0] https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-cont...
[1] https://accessible-colors.com
https://developer.mozilla.org/en-US/docs/Tools/Accessibility...
https://colorhunt.co/
I'm curious about accessibility. Are any of these combinations harder to use for people with colour-blindness? How would i test for that?
To check the colours on a page (and many other accessibility violations) you can use a bookmarklet like HTML Codesniffer ( https://squizlabs.github.io/HTML_CodeSniffer/ ), the tools that are integrated with Firefox and Chrome's devtools, or CLI tools like Axe or Pa11y.
You can inspect items for contrast ratio, and I believe there’s even a color blindness simulator.
There are accessibility checkers (ARIA) on the web, they can give you a score at least.