Re: [csswg-drafts] [css-color] Should whitepoint and other canonical values be listed in the code section? (#6618)

I agree that these should be defined canonically in one place in the spec, so they can be referenced elsewhere.

Currently they are defined (in the definitions for the predefined rgb spaces, and in the sample code) but not in a way that can be easily referenced from other specifications:

For D50, in the code, as relative XYZ

> ```js
> var white = [0.96422, 1.00000, 0.82521]; // D50 reference white
> ```

In the definition of ProPhoto, as xy chromaticity

<html><body>
<!--StartFragment-->

White chromaticity | 0.345704 | 0.358540 | (D50)
-- | -- | -- | --


<!--EndFragment-->
</body>
</html>

For D65

in the definition of each predefined rgb space, as xy chromaticity:

<html><body>
<!--StartFragment-->

White chromaticity | 0.31272 | 0.32903 | (D65)
-- | -- | -- | --


<!--EndFragment-->
</body>
</html>

and implicitly, in the Bradford adaptation matrices.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6618#issuecomment-920823364 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 September 2021 11:34:28 UTC