-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Docs: mapping of color space names - CSS space ids/function names, Color.js serialized, and Color.js space ids #465
Comments
Nice, although it is missing color space names from the (very new) CSS Color HDR |
Any idea when those new color spaces be available in browsers? |
I updated the pdf and xlsx files to include the new CSS HDR color spaces, in gray. Note that Color.js has REC2020 linear, but not REC2100 linear. It's the only one of the new spaces not currently supported by Color.js. Note that the Color.js ids/serialized names for REC2100-HLG and -PQ are now mismatched with CSS too. But now the only non-CSS serialized value that doesn't start with "--" is |
Because we define these spaces over the extended range, and because these two use a linear-light transfer function, and because they use the same primary chromaticities and white point, they are two names for the same thing. See |
Around the same time that Canvas HDR is supported in browsers. |
Yes we should fix those serialized forms in color.js |
The attached pdf and Excel files are a matrix of the three different versions of string color space ids/names/tokens. The docs should include a version of this matrix and an explanation of the rules for creating derived versions of the names, like the serialized
--a98-rgb-linear
versusrec2100pq
.color space names.pdf
color space names.xlsx
The text was updated successfully, but these errors were encountered: