Re: [csswg-drafts] [css-color-4] Fallback strategy for nonexistent color spaces? (#6129)

One option might be to use the length of the [`components` descriptor](https://drafts.csswg.org/css-color-4/Overview.html#descdef-color-profile-components); if 1 assume `rgb(grey grey grey)`, if 3 assume `rgb(red green blue)` and if 4 assume `device--cmyk(cyan magenta yellow black).

The red green and blue values would of course be scaled from [0,1] to [0%,100%].

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


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

Received on Saturday, 9 October 2021 15:42:24 UTC