Re: [csswg-drafts] [css-color] Add a function to allow authors to specify colors reacting to `color-scheme` (#7561)

> Yeah it's probably worth defining the concept of "absolute-color" or something in prose.

Just to close this one off, we [have such a definition](https://drafts.csswg.org/css-color-5/#color-syntax):

> An absolute color is a [<color>](https://drafts.csswg.org/css-color-5/#typedef-color) whose computed value has an absolute, colorimetric interpretation. This means that the value is not:
>
>    [currentColor](https://drafts.csswg.org/css-color-4/#valdef-color-currentcolor) (which depends on the value of the [color](https://drafts.csswg.org/css-color-4/#propdef-color) property)
>
> -   a [<system-color>](https://drafts.csswg.org/css-color-4/#typedef-system-color) (which depends on the color mode)
> -   [<light-dark()>](https://drafts.csswg.org/css-color-5/#funcdef-light-dark) (which depends on the color mode)
> -   [<contrast-color()>](https://drafts.csswg.org/css-color-5/#funcdef-contrast-color) (which depends on the color mode)
> -   [<device-cmyk()>](https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk) (which has no colorimetric basis)
>
>  Nor are any of those values used inside [<color-mix()>](https://drafts.csswg.org/css-color-5/#funcdef-color-mix) or in relative color syntax.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7561#issuecomment-3152368484 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 August 2025 20:47:45 UTC