Contact emails
cg...@chromium.org
Specification
https://drafts.csswg.org/css-color-5/#relative-alpha
Summary
Relative alpha colors refer to an origin color, and only change the alpha channel. The meaning of alpha channels is defined in CSS Color 4 § 4.2 Representing Transparency in Colors: the <alpha-value> syntax.
Blink component
Blink>CSS
Web Feature ID
Missing feature
Motivation
Relative alpha colors provide a direct CSS way to derive a translucent version of an existing color without rewriting its color channels. Authors currently need to duplicate component values or create separate precomputed tokens when they want “the same color, different opacity.” The CSS Color 5 alpha() function preserves the original color components and only changes alpha, which reduces authoring overhead and makes color tokens easier to reuse and maintain.
Initial public proposal
No information provided
Goals for experimentation
None
Requires code in //chrome?
False
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5070160203481088?gate=5172416059932672