Re: [csswg-drafts] [css-color-4] a new property to limit to a specific color gamut (#10038)

Thinking about this more, this same property could also be an opt-out of gamut mapping.

Values could be:
- `srgb | p3 | rec2020`
- `auto`
- `none`

- `auto` : css gamut mapping algorithm as currently specified
- `none` : no gamut mapping at all, all colors are clipped when out of gamut

If [clipping is valuable to some](https://github.com/w3c/csswg-drafts/issues/10055#issuecomment-2010732326) an opt-out could be a way to move forwards.

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


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

Received on Thursday, 21 March 2024 07:48:11 UTC