Re: [community-group] Legacy color (#137)

> The different representations of a color space (hsl for rgb, lch for lab, ...) are less important in a transfer format like design tokens.

I wholeheartedly agree with this. RGB floats with support for popular colour spaces (sRGB, Display P3) makes a lot of sense as a base requirement. HSB, LCH, OKLAB etc are nice to have, but with the correct precision and colour space, those conversions can always be done at display time.

HEX is very limited in terms of precision, and rounding errors can be a significant issue when doing conversions. The future is floats!

-- 
GitHub Notification of comment by marcedwards
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/137#issuecomment-1158345083 using your GitHub account


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

Received on Friday, 17 June 2022 00:39:50 UTC