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

Its simple to define negative percentages - 10% of a color means you multiply the components by +10/100, while -10% means you multiply them by -10/100. Same for values greater than 100%

Whether that is a particularly useful thing to do, though, is not clear.

The language about mix percentages would also need to be updated, probably with an example

```css
color-mix(lch, red -10%, blue);
color-mix(lch, red -10%, blue 110%); // same
```



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


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

Received on Tuesday, 2 March 2021 21:25:35 UTC