-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-color] Add industry standard color names #817
Comments
For RAL, this would suggest The RAL Design sub-system is an alternative (HCL) notation of LCH colors, as it seems. So it probably makes no sense to introduce a separate syntax for this, although it would be possible.
The original RAL Classic sub-system would work with 4-digit
The RAL Effect sub-system is based on a 3-digit number and another character (a digit or the letter
Similarly, RAL Plastics, is just Classic or Design with an added
|
In my opinion, the point of the color() function is mostly about allowing color-spaces. Adding more naming systems is only going to be useful if:
We currently have that with our AdobeRGB and Display P3 predefined spaces, to some extent. Do these other systems provide the same? |
Every once in a while, CSS needs to add features that are not primarily intended for interactive screen-based webbrowsers. |
This is already supported. You'd just need to provide an ICC profile for your naming scheme. Of course, you'd then need to get the browsers to support both getting external profiles and whatever the parsing of the arguments requires (you're allowed string arguments to the color function). |
The CSS Working Group just discussed
The full IRC log of that discussion
|
Does this resolve #303 then, too? I never thought of (scary) ICC profiles as a means to specify a palette of named colors. I have now learned that there is a NamedColor profile ‘nmcl’ in ISO 15076-1.
LCMS can create such ICC profiles. |
The WG resolution conflicts somewhat with inline issue 9:
A palette of named (LCH) spot colors may not constitute a color space of its own, but the first parameter to The specification should probably include an informative example of how this was possible, i.e. the first example in 11. Profiled, Device-dependent Colors should include a named color from an ICC profile. Also, since browsers do not support external ICC profiles – but maybe PDF generators do or will – you cannot “already do this”, which is the very reason for |
Agreed that some examples of using named colors should be added. And yes, that was the intent of adding them - instead of a centralized list of color names, allow anyone to provide their own names. That also conveniently does not put the implementation in the critical path when some collections of names have licensing restrictions |
Sadly, ICC profiles are not as easy to create as a CSS file, so someone but not "anyone" could put their list up on the web for others to reuse. |
When the "someone" in question is the steward of an industry-standard color profile, they can definitely produce an ICC profile file (or can employ someone who can). It's almost certain they already have, since ICC profiles are industry standards too, and used all over the place. |
Similar to #303, add other naming systems, e.g. RAL and HKS, if their licenses allow this.
See also my message to www-style from 27 July 2016.
The text was updated successfully, but these errors were encountered: