W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-color-4] Conversion precision for hue in LCH model creates false results (#5309)

From: Igor Snitkin via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Jul 2020 20:09:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-656868139-1594411780-sysbot+gh@w3.org>
In library I work on I've set precision such as converting `lab(100% 0 0)` to XYZ would give me exactly value of D50 (`[0.96422, 1, 0.82521]`) and converting `rgb(100% 100% 100%)` to XYZ would give me exactly value of D65 (`[0.95047, 1, 1.08883]`)* and this alone solved all conversion inconsistencies I had.

*I've normalized D65 to have same precision as D50

-- 
GitHub Notification of comment by snigo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5309#issuecomment-656868139 using your GitHub account
Received on Friday, 10 July 2020 20:09:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC