Skip to content

[css-color] Should whitepoint and other canonical values be listed in the code section? #6618

Closed
@Myndex

Description

@Myndex

Should whitepoint and other canonical values be listed in the code section? (they aren't now, as far as I can see).

https://drafts.csswg.org/css-color-4/#color-conversion-code

I ask becasue there are multiple "standards" showing slightly different values for D65 and D50 whitepoints.

For instance, Bruce Lindbloom is/was using the whitepoint from ASTM E308-01, the values of which are 0.3127266150 and 0.3290231300

But ICC uses something a little different. And the IEC and ISO seem to have their own variances, along with others.

Elle Stone has an article on the many different whitepoints in various "standards" at NineDegreesPhoto—White Point Values

ALSO: would it make sense to list primary coordinates? And then would it be useful to include matrix generation code instead of pre-calculated matrixes?

I ask because the code to generate a 3x3 matrix is fairly trivial, and then all that is needed for each colorspace are the primary coordinates, white point, and gamma or TRC.

At he very least, I do think the chromaticity coordinates, especially for whitepoint, should be a constant in the code section to provide a canonical value.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions