#894: Relative Color Syntax (RCS)
Discussions
2023-12-18
Dan: explainer provided
Amy: multistakeholder is positive. Mostly shipping.
Amy: on a surface level it looks fine...
we think this is probably fine - but need to double-check it with TAG CSS exprerts
OpenedSep 6, 2023
こんにちは TAG-さん!
I'm requesting a TAG review of Relative Color Syntax (RCS).
The new relative color syntax extends modern color syntax to allow existing colors to be modified using the color functions: if an origin color is specified, then each color channel can either be directly specified, or taken from the origin color (and possibly modified with math functions). For example:
lab(from magenta calc(l/2) a b)
Would create a
lab
color that is equivalent to magenta with half of the lightness.Further details: