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

Why do we need to define negative values here? I think this would just add confusion. When mixing paint colors, for example, there is no construct of negative mixing. I think of `color-mix()` in the same way. 

> `color-mix(lch, red -10%, blue 110%);`

What would this look like? What is `110%` blue? Would it just look the same as `color-mix(lch, red, blue 100%);` and get clipped to `blue`?

I just don't think it makes sense to have negative values here. In the spec as its written, you would only have one percentage (for the first color) which prevents the percentages from not adding up to 100%, and anything over 100% would clip to one of the input values in the `color-mix()` function.

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


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

Received on Thursday, 4 March 2021 00:13:57 UTC