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

Re: [csswg-drafts] [css-color-5] When mixing hue, there are two ways round the hue range (#4735)

From: Dan Burzo via GitHub <sysbot+gh@w3.org>
Date: Sun, 05 Jul 2020 07:25:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-653852569-1593933933-sysbot+gh@w3.org>
I'd like to experiment with adding these five hue interpolation types to my library, and I wondered — at the hue fixup step, should we also do something about grays, which in LCh have `c: 0` and `h: 0`? The hue value is misleading here, in the absence of a chroma. 

In the case of mixing two colors, the achromatic one can inherit the hue from the other color, if it has chroma. But if we were to extend hue interpolation to gradients, which accept more than one color stop, how should hues for achromatic colors be handled?

GitHub Notification of comment by danburzo
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4735#issuecomment-653852569 using your GitHub account
Received on Sunday, 5 July 2020 07:25:35 UTC

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