Re: [csswg-drafts] [css-color-5] color-mix to allow more than two colors? (#4711)

Interesting to mix multiple colors! I like this idea as it relates to thinking of color like painting.

Should the syntax then be like: `color-mix(red 40%, blue 20%, pink 40%)`?

What happens if these colors do not add up to 100%?

I think it would also be nice to have the option of omiting the percentage to denote an equal distribution, i.e: 

- `color-mix(red, blue)` would mix red and blue by 50% each
- `color-mix(red, blue, pink)` would mix each by 33.333% each

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

Received on Thursday, 6 February 2020 00:45:37 UTC