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

Re: [csswg-drafts] [css-color-4] Do gradients/animations using lab/lch colors interpolate in the Lab colorspace? (#4647)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 May 2020 18:17:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-633674891-1590430633-sysbot+gh@w3.org>
Responding to your technical point:

> Lab is not intended for pixel manipulations. It is a color model to predict color differences while changing viewing conditions.

Lab is not very good at predicting color differences is the viewing conditions vary very far from a natural daylight like D50. This is why CSS Color 4 (like ICC do with their profiles) uses a separate chromatic adaptation step before computing Lab values of the _corresponding colors_. Currently using Bradford (again, aligning with ICC and industry practice) although I am also evaluating CAT16.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4647#issuecomment-633674891 using your GitHub account
Received on Monday, 25 May 2020 18:17:15 UTC

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