It's neat! Slightly offtopic - I saw one of the colors named "peru", does the name has any connection with Peru the country?
Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
31–40 of 167 posts
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#32This is very cool, thank you! Interestingly the difference between some of these colours is (to my eyes / monitor) ... very little? E.g. chartreuse and lawngreen, palegreen and lightgreen, mediumturquoise and darkturquoise, etc.
Or at least adults are, possibly because of the environment they grew up in (the science is still murky on that one).
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#33This is definitely a cool way of exploring CSS colors. But, serious question: does anyone actually use CSS colors except for a handful of the basics ("red", "blue") for prototyping/debugging? I mean, the idea of typing "background-color: lightsalmon;" just feels so bizarre to me. Whenever I've needed to come up with colors from scratch, I'll just start with an intuitive best guess -- e.g. "hsl(30, 80%, 50%)" -- and t…
People with vision disabilities can have a custom plugin that changes the colors based on their name, instead of trying to convert all the hex codes.
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#34This is definitely a cool way of exploring CSS colors. But, serious question: does anyone actually use CSS colors except for a handful of the basics ("red", "blue") for prototyping/debugging? I mean, the idea of typing "background-color: lightsalmon;" just feels so bizarre to me. Whenever I've needed to come up with colors from scratch, I'll just start with an intuitive best guess -- e.g. "hsl(30, 80%, 50%)" -- and t…
I prefer to use named colors in my own CSS layouts. "lightsalmon" is more descriptive to me than "#FFA07A" or "rgb(255, 160, 122)" or "hsl(17, 100%, 73.9%)" at a glance.
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#35Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#36This is definitely a cool way of exploring CSS colors. But, serious question: does anyone actually use CSS colors except for a handful of the basics ("red", "blue") for prototyping/debugging? I mean, the idea of typing "background-color: lightsalmon;" just feels so bizarre to me. Whenever I've needed to come up with colors from scratch, I'll just start with an intuitive best guess -- e.g. "hsl(30, 80%, 50%)" -- and t…
I prefer to use named colors in my own CSS layouts. "lightsalmon" is more descriptive to me than "#FFA07A" or "rgb(255, 160, 122)" or "hsl(17, 100%, 73.9%)" at a glance.
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#37It's neat! Slightly offtopic - I saw one of the colors named "peru", does the name has any connection with Peru the country?
Interesting. Here is Peru on the CSSWG draft document[1]. Other then rebeccapurple[2][3] is there any rationale given for the names of the CSS colors? 1: https://drafts.csswg.org/css-color-3/#peru 2: https://en.wikipedia.org/wiki/Eric_A._Meyer#Personal_life 3: https://lists.w3.org/Archives/Public/www-style/2014Jun/0312....
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#38Good reminder that in CSS, darkgray is a light gray and gray is a dark gray. Also presumably up is down and wet is dry.
white-space: nowrap
So they take a word "whitespace" which needs no hyphen and jam one in. Then they take two completely distinct words "no wrap" and jam them together with no separator. And then you have to remember both of these on the same rule.Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#39Good reminder that in CSS, darkgray is a light gray and gray is a dark gray. Also presumably up is down and wet is dry.
'Brown' is dark red, and to my eye 'sienna' has very little red in it. To get actual brown, you need 'saddlebrown'. CSS is super weird.
"Burn sienna" seems even more varied. Here's are four different color-oriented websites, with a dark earthy orange from Colorlex [1], a light salmon from Canva [2], a light brown from Benjamin Moore [3] and a dark brown from Atelieracrylic [4].
1. https://colourlex.com/project/burnt-sienna/ 2. https://www.canva.com/colors/color-meanings/burnt-sienna/ 3. https://www.benjaminmoore.com/en-us/color-overview/find-your... 4. http://atelieracrylic.com/atelier-interactive/burnt-sienna/
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#40This is very cool, thank you! Interestingly the difference between some of these colours is (to my eyes / monitor) ... very little? E.g. chartreuse and lawngreen, palegreen and lightgreen, mediumturquoise and darkturquoise, etc.
I took a test a while back and discovered that I'm apparently the color equivalent of a super-taster. I have extremely fine color perception.
In the examples you list, lawngreen looks darker, bluer and a little more saturated than chartreuse. Palegreen is much lighter than lightgreen and somewhat more saturated. Mediumturquoise is bluer, darker, and duller than darkturquoise's greenish tint.
Note, of course, that your monitor and viewing environment will affect your perception too.