Re: [csswg-drafts] [css-color-5] Make channel values in relative color syntax optional (#10689)

`rgb(from black)` would also be useful when gamut mapping is limited to certain notations.

Currently there is a resolution to only have gamut mapping when the color was described with some functions, like `oklch()`.

- `color(display-p3 1.2 -0.1 05)` -> is **not** gamut mapped
- `oklch(from color(display-p3 1.2 -0.1 05))` -> is gamut mapped

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


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

Received on Monday, 5 August 2024 12:19:54 UTC