Skip to content

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

@svgeesus

Description

@svgeesus

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:

  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?)

Metadata

Metadata

Labels

Closed as RetractedWhen the person who raised the issue thinks that there's no issue after all.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.css-color-5Color modification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions