#894: Relative Color Syntax (RCS)

Visit on Github.

Opened Sep 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:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the work on this specification is currently being done: csswg-drafts
  • Major unresolved issues with or opposition to this specification: None
  • This work is being funded by: Google

Discussions

2023-12-18

Minutes

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