color-mix takes two colors and one mandatory percentage (the percentage for 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 I notice:
- It allows an arbitrary number of arguments
- 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?)
color-mixtakes two colors and one mandatory percentage (the percentage for the other color is 100-that percentage).From the Toronto minutes:
Looking at the definition for
cross-fadeI notice: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?)