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: Aurélien PIERRE via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 May 2020 07:40:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-630644713-1589874040-sysbot+gh@w3.org>
> And on that note, uh, alpha should also be handled in a similar fashion. I think it's easy enough to make Lab just do the same premultiplied thing, but I don't know how Lch() would work.

Do you understand that Lab has a cubic root built-in ? How do you exactly intend to premultiply an alpha layer, supposed to model optical occlusion, with something that doesn't respect energy conservation ?

-- 
GitHub Notification of comment by aurelienpierre
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4647#issuecomment-630644713 using your GitHub account
Received on Tuesday, 19 May 2020 07:40:42 UTC

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