- From: Isaac Muse via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 14:10:30 +0000
- To: public-css-archive@w3.org
> Adding some data I recently observed and I haven't seen brought up before. It appears that clipping produces a much worse color for higher lightnesses whereas it is much more acceptable for medium to low lightness even for fairly substantial clips. This is something I've brought up before. Clipping and gamut mapping that preserves lightness and hue are good for different things. The "gamut map to Rec. 2020 and then clip" was proposed to favor images, but not for applications like you are demonstrating. Preserving lightness and hue throughout the entire gamut mapping process obviously serves your use case better. This is one of the reasons I've thought that gamut mapping images and gamut mapping colors in CSS don't necessarily need to use the same approach, or at the very least should give you a choice. If coming from the approach that only one algorithm is desired, I think the "gamut map to Rec. 2020 and then clip" was supposed to be an approach to kind of meet in the middle; gamut map extreme colors, but then clip to make sure images look good. -- GitHub Notification of comment by facelessuser Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10579#issuecomment-3200932852 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 14:10:31 UTC