Re: [csswg-drafts] [css-color-4] Use exact values for some matrices in conversions.js (#7320)

> These color space conversion matrices have exact rational values that
can be computed from the numbers provided in the spec. Using exact
values is more succinct for most of these matrices, and also makes it a
nice reference implementation for other languages. 

In general using exact rational values is a better approach, agreed.

I am curious where the  [D65 values 0.312713, 0.329016](https://mina86.com/2019/srgb-xyz-matrix/) come from.

About a year ago there was a strong effort to recalculate everything using a [consistent white point](https://drafts.csswg.org/css-color-4/#white-point) everywhere, which reduced residual errors substantially. I am reluctant to redo that without further details.

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


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

Received on Sunday, 29 May 2022 20:32:06 UTC