Re: [csswg-drafts] [css-color-5] How should negative percentages behave in color-mix()? (#6047)

Notably, your first example shows off the weirdness of negative percentages as well - your final result isn't just less red, it's *more blue* because the purple's omitted percentage automatically gets set to 140%.

And the only reason it's less red is because your red starts with a higher R channel than your purple. If you were subtracting a less intense red and/or using a more intense purple, subtracting red would actually cause the result's red to go **up**, due to the purple supersaturating.

I do not think this is actually an intuitive result.

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


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

Received on Wednesday, 10 March 2021 20:29:56 UTC