Re: [csswg-drafts] [css-color] Fallback color in @color-profile that uses RCS (#6767)

I'm a fan of this "provide a relative color function" idea. It seems like a really elegant solution.

Given that the relative color functions here would have a slightly unique syntax (no `from <color>` argument), do we really need to accept a generic `<color>` as well? I don't see how your example like `fallback-color: red;` is at all good for users of the page, but if an author *really* wants to do it they can with `fallback-color: rgb(255 0 0)` (since that's technically a relative color function, just a constant one).

The ability to use a @color-profile as a makeshift color-function syntax is also pretty cute, I must admit. I wouldn't take it as justification for this syntax, but it's nice that it falls out.

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


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

Received on Tuesday, 26 October 2021 23:34:43 UTC