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

Re: [csswg-drafts] [css-color-5] Undefined Hue angle when interpolating from neutrals (#4928)

From: Dan Burzo via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Jul 2020 11:36:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-658130680-1594726612-sysbot+gh@w3.org>
Hmm, I haven't fully fleshed out the idea, but could we do a _chroma premultiplication_ (for `lch()`) or _saturation premultiplication_ (for `hsl()`) similar to an _alpha premultiplication_? That would make colors with a small chroma component conntribute less of their hue to the interpolation and might satisfy @tabatkins [math requirements](https://github.com/w3c/csswg-drafts/issues/4647#issuecomment-624790084)?

I'll try a demo to see if it pans out.

-- 
GitHub Notification of comment by danburzo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4928#issuecomment-658130680 using your GitHub account
Received on Tuesday, 14 July 2020 11:36:55 UTC

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