I'm not sure what the intent is, and what other people do with it, but I thoroughly _love_ having these named colours for when I'm hacking and prototyping. I can just start typing out a colour and autocomplete will show me a list. But I don't find myself ever using them in production.
Also: Finally, a tool to help me decide between greenyellow and yellowgreen.
They're nice in prototyping styling since it's trivial to comprehend the intent of coloration while making it clear that finalized colors haven't been settled on.
I always (and only) use named colours for debugging. For example border: 1px solid red; around some element that isn't rendering as expected.
This makes it hard to accidentally forget about a rules that just just put in temporarily. Real colours will always match some design, which will have a carefully-chosen hexcode.
that's awesome. I made a somewhat similar toy[0] a while ago in vanilla js (checkmark `color2nearestname` at the top). I've been meaning to try my hand at this again, but while allowing the user to choose the palette. Namely I was thinking of these definitions:
1. CSS named colors 2. Open Props' colors[1] 3. Tailwind colors 4. XKCD's color survey results[2] A different project sent me on a deep dive into the concept of color distances and how that can work across different spaces though so I'm afraid any other color-related projects would paralyze me with feature creep at this point though haha --- .. [0] https://culi.page/toys/ .. [1] https://yeun.github.io/open-color/ .. [2] https://xkcd.com/color/rgb/
Me too. They’re a charming and intuitive language feature, even if I don’t rely on them much professionally.
One CSS color name that always comes to mind is “rebeccapurple”. I seem to recall reading debates against introducing this at the time, but (10?) years later it’s still the first one I think about.
To be fair there's a point here, which is that color spaces from sRGB to DCI-P3 to REC2020 do have quite different color/tone/brightness ranges (gamuts). Old windows boxes (and old monitors) also displayed them very differently (especially the low brightness ones). Macs were much better, and that made picking colors on them far more repeatable.
Now everyone in Windows world has standardized on sRGB and Mac on DCI-P3, but mobile is more important, where I believe it's still split sRGB Android, and DCI iPhone. I don't know, but expect that HTML picked sRGB for their color space since this is the one people historically meant. I'd be surprised that it wasn't configurable and there weren't multiple versions, because why have a standard, when you can choose! We won't even get into HDR, automatic brightness/eye-saver, or white point adjustment. You'ld be better off looking for a color perception scale rather than display scale, if you wanted to avoid that. Environmental lighting has big effects on perception though.
I've used this a lot actually and appreciate it exists but I have a lot of issues. First of all is how much it's used for memeing and coming up with funny sounding names for certain colors. There are also many professional color palette names. Some, like CSS named colors, are very well-represented. Others like Wikipedia's list of named colors[0] draw from various sources. Then there's others that might be historically important[1] but little known otherwise. But basically anything outside of CSS named colors, Crayola, and Pantone is completely ignored. There have been many instances where I've seen major color-naming bodies (e.g. ISCC or the Federal Standard 595C) all agree that some color name is mapped to a certain color but the users of colornames.org have just completely ignored it and come up with a new color for it. How do we name new colors without ignoring names that have already been assigned?
My second major issue is how deeply susceptible it is to cultural biases. Wikipedia handles the issue of constantly changing knowledge/culture by stating that its mission is to capture knowledge "as it currently" exists. I'd like to see a version of the colornames scores where votes are weighed by recency. Older votes can still count, but in order to capture constantly changing/adapting culture and emerging consensuses we can maybe weigh more recent votes more heavily Another thing I'd love to see is to just have accounts answer the question: "Which language have you spoken the most of in the past (7) years of your life?" I think this one simple data point can solve a LOOOT of the issues and captures both culture and heritage without having to differentiate between place of birth, changing life circumstances and upbringings, etc. This would also mean that people who speak Tagalog don't have to see their well-agreed-upon name for a color being overwritten by the norms of demographic majority of the userbase which skews English-speakers --- Clearly I have a lot of thoughts haha. I still love that color-names exists. One thing I'd like to build out some day is something to aggregate all the different color naming schemes out there and have colornames.org simply be a source amongst many others. Similar projects already exist[2] but none that are explicit about being attempt to aggregate sources and not BE the ultimate word on what color is named what .. [0] https://en.wikipedia.org/wiki/Lists_of_colors .. [1] https://github.com/davo/Color-Standards-and-Color-Nomenclatu... .. [2] https://github.com/meodai/color-names
In 2014, however, an unexpected event cast the color list in a more favorable light: a new shade. “Rebecca purple,” was introduced to honor the life of Rebecca Meyer, the daughter of Eric Meyer, a respected programmer and CSS writer. Rebecca died of brain cancer at the age of six; the hue (#663399) was chosen to reflect her favorite color. (A few developers opposed the addition, maintaining that a set of standards was no place for an emotional tribute. They were dismissed as curmudgeons.)
I do agree that a Web standard is not the place for personal tributes. (Imagine how unusable the colour list would become if all the colours had random personal names in them!) Am I a terrible person for being aligned with the folks who opposed the addition?
When I loaded up the link, before viewing the comments in here, the very first thing I did was look for "Rebecca purple", and I was happy to find it. Not really a comment on your remarks, but thought I would share it.
I'm influenced by the having a daughter born around this time, and Rebecca's story sticks with me.
I take that to mean they're not discouraged. After all, the element still appears to work in 2022. I imagine if named colors are ever removed as a feature from browsers, it won't be until a year like 2057.
We should instead encourage named colors AND recognize `chucknorris` as an actual HTML color value.
Comments (169) 64 threads
Also: Finally, a tool to help me decide between greenyellow and yellowgreen.
This makes it hard to accidentally forget about a rules that just just put in temporarily. Real colours will always match some design, which will have a carefully-chosen hexcode.
https://i.imgur.com/44wogB5.png
[1]: https://tailwindcss.com/docs/customizing-colors
https://find-nearest-tailwind-colour.netlify.app
1. CSS named colors
2. Open Props' colors[1]
3. Tailwind colors
4. XKCD's color survey results[2]
A different project sent me on a deep dive into the concept of color distances and how that can work across different spaces though so I'm afraid any other color-related projects would paralyze me with feature creep at this point though haha
---
.. [0] https://culi.page/toys/
.. [1] https://yeun.github.io/open-color/
.. [2] https://xkcd.com/color/rgb/
[0] https://yeun.github.io/open-color/
[1] https://open-props.style/
One CSS color name that always comes to mind is “rebeccapurple”. I seem to recall reading debates against introducing this at the time, but (10?) years later it’s still the first one I think about.
https://vilvadot.github.io/sketch-default-color-palette/
https://colornames.org/
8-bit? and then which bit-8? the "2 bits for blue" 8-bit?
Or 16-bit? 24-bit? 32-bit? Using floats or not?
Now everyone in Windows world has standardized on sRGB and Mac on DCI-P3, but mobile is more important, where I believe it's still split sRGB Android, and DCI iPhone.
I don't know, but expect that HTML picked sRGB for their color space since this is the one people historically meant. I'd be surprised that it wasn't configurable and there weren't multiple versions, because why have a standard, when you can choose!
We won't even get into HDR, automatic brightness/eye-saver, or white point adjustment. You'ld be better off looking for a color perception scale rather than display scale, if you wanted to avoid that. Environmental lighting has big effects on perception though.
My second major issue is how deeply susceptible it is to cultural biases. Wikipedia handles the issue of constantly changing knowledge/culture by stating that its mission is to capture knowledge "as it currently" exists.
I'd like to see a version of the colornames scores where votes are weighed by recency. Older votes can still count, but in order to capture constantly changing/adapting culture and emerging consensuses we can maybe weigh more recent votes more heavily
Another thing I'd love to see is to just have accounts answer the question: "Which language have you spoken the most of in the past (7) years of your life?" I think this one simple data point can solve a LOOOT of the issues and captures both culture and heritage without having to differentiate between place of birth, changing life circumstances and upbringings, etc. This would also mean that people who speak Tagalog don't have to see their well-agreed-upon name for a color being overwritten by the norms of demographic majority of the userbase which skews English-speakers
---
Clearly I have a lot of thoughts haha. I still love that color-names exists. One thing I'd like to build out some day is something to aggregate all the different color naming schemes out there and have colornames.org simply be a source amongst many others. Similar projects already exist[2] but none that are explicit about being attempt to aggregate sources and not BE the ultimate word on what color is named what
.. [0] https://en.wikipedia.org/wiki/Lists_of_colors
.. [1] https://github.com/davo/Color-Standards-and-Color-Nomenclatu...
.. [2] https://github.com/meodai/color-names
CSS Color Module Level 4 (draft) admits as much, and states "their use is not encouraged." https://www.w3.org/TR/css-color-4/#named-colors
Continue this thread — 1 reply
I'm influenced by the having a daughter born around this time, and Rebecca's story sticks with me.
These days, we have both.
Continue this thread — 7 replies
We should instead encourage named colors AND recognize `chucknorris` as an actual HTML color value.
Continue this thread — 1 reply
Continue this thread — 1 more reply
All comments shown.
Couldn't load more comments. Check your connection and try again.