Re: [csswg-drafts] [css-color-4] Color modifications proposal: extending color functions

> So per spec, clamping applies to the device gamut, not the sRGB gamut. 

Yes, but in the proposed syntax, functions which operate on sRGB values will necessarily _also_ involve a clip of the intermediate values to sRGB if the color you are modifying _from_ is outside sRGB. In practice, that is easily avoided but the spec has to state what happens with all possible combinations, not just sensible combinations.

> Not sure whether or not that's implemented

It is impossible to not implement it :) a device can't display colors outside it's gamut, by definition.

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

Received on Tuesday, 16 October 2018 07:48:47 UTC