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

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