Skip to content

[css-color-4] Ambiguous definition of D65 white point #6640

@kdrag0n

Description

@kdrag0n

In #5922 (related to color-js/color.js#87), the XYZ <-> sRGB conversion matrices were recalculated to use the sRGB specification's definition of D65: xy 0.3127, 0.3290. The Sample code for color conversions section of the spec is currently using the sRGB D65-based matrices. As mentioned in #5922, matrixmaker.html was used to calculate the matrices in February.

However, matrixmaker.html was later updated to use ASTM D65 again in commit 55e497b, so the calculated matrices are now different from the CSS Color 4 spec. Is this intentional, or is one of them wrong?

I realize that this issue is similar to #6618, but the scope is much smaller and this is likely a trivial fix as compared to the other issue. Feel free to close this issue if you think it's a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-color-4Current Work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions