Skip to content

[css-color-5] color-mix() could benefit from additional examples to understand the behavior of mixing colors with alpha #6833

@weinig

Description

@weinig

I would have (and I guess still would) found it helpful when implementing color-mix() if the spec, https://drafts.csswg.org/css-color-5/#color-mix, included examples of mixing colors with non-opaque alpha. This would help to clarify things like alpha premultiplication behavior and how that interacts with the additional alpha multiplication that happens when the sum of the percentages does not add up to 100.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions