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

svgeesus has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] color-mix to allow more than two colors? ==
[`color-mix`](https://drafts.csswg.org/css-color-5/#colormix) takes two colors and one mandatory percentage (the percentage fro the other color is 100-that percentage).

From the Toronto minutes:

> RESOLVED: Add color-mix(), try to align with cross-fade()

Looking at the [definition for `cross-fade`](https://drafts.csswg.org/css-images-4/#funcdef-cross-fade) I notice:

1. It allows an arbitrary number of arguments
2. Because of 1., it has fallback language to say how to handle the percentages not summing to 100

This issue is to record the discrepancy. Do we want to allow multiple colors? Do we want to allow percent to be omitted (defaults to equal mix of each color?)



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4711 using your GitHub account

Received on Tuesday, 28 January 2020 20:39:04 UTC