Re: [community-group] Loosen up the color type (#79)

One factor to consider is that HEX->HSL->HEX conversions don't guarantee that the initial HEX value and the resulting HEX value are equal.

This can lead to awkward situations where design tools could author colors in HEX, and code pulls them in HSL, but then a token conversion resolves those... to a different HEX value.

(I recently came across this issue for the first time... To solve it, we simply started using HEX across the board, and we have predictable outcomes)

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


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

Received on Thursday, 2 February 2023 08:09:45 UTC