- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Sat, 25 Dec 2021 18:47:27 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] Clarify / add example of gamut mapping during color-mix() == The [`color-mix()`](https://drafts.csswg.org/css-color-5/#color-mix) function has the following step defined: > Both colors are converted to the specified <color-space>. If the specified color space has a smaller gamut than the one in which the color to be adjusted is specified, gamut mapping will occur. It would be useful to understand exactly when this applies, as its not entirely clear to me. For instance, would the following require gamut mapping? ``` color-mix(in srgb, color(display-p3 0 1 0) 100%, red 0%) ``` Should the `color(display-p3 0 1 0)` color be gamut mapped to the sRGB gamut, or would it be ok for this to produce a result like `color(srgb -5.35 10.17 -3.43)`? Presumably this only applies to `srgb`, `srgb-linear`, `hsl` and `hwb` at the moment as well, but clarification would also be helpful. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6913 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 25 December 2021 18:47:29 UTC