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

Beyond the ability to specify components as a string, I'm not sure what you're trying to accomplish with that code snippet. The color space you've defined there always produces a specific color (`device-cmyk(1 0.723 0 0.02)`) since you haven't used any components in there. So people can use `color(--reflex-blue)` to specify that color, but that could have done with a simple variable, since there's no parameterization:

```css
--reflex-blue: device-cmyk(1 0.723 0 0.02);
```

Also, an additional complication of specifying components as a string is that then they need to be able to be used inside `calc()`, and it's pretty weird to have special behavior for only *some* strings in `calc()`. 

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


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

Received on Wednesday, 27 October 2021 12:29:29 UTC