Re: [csswg-drafts] [css-color-4] [css-color-5] inconsistent mentions of powerless components in `white`. (#8609)

> Is it correct that what we are seeing there is clipping of out of gamut colors?

Yes, there is no other way to visualize it. Many of the super bright blues are probably out of gamut and forced back into the gamut with clipping.

> Aside from this inconsistency in the spec text, the implementations in browsers also happen to be bogus and wildly different.

This may be so, and I'm obviously not attempting to provide a solution there, I'll let the spec writers do that, but I wanted to mention that the example in the spec, even if the powerless part is confusing, seems to make the most sense. Forcing chroma to be `none` with max and min lightness would be a bad direction IMHO.

> But I still fail to see where the issue is in having super saturated colors that are near 100% lightness?

There is nothing wrong with interpolating super saturated colors, but my argument is white and black should not normalize by default, when converted to an LCh space,  to `none` for both chroma and hue because then you are *not* interpolating between white and a color or black and a color, but are interpolating lightness only. If you want to interpolate lightness only, by all means, set chroma and hue manually to `none`. Further, I would not normalize white and black to have both `a` and `b` set to `none` unless explicitly, done so.



-- 
GitHub Notification of comment by facelessuser
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8609#issuecomment-1490357103 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 30 March 2023 13:59:55 UTC