Unecessary level of precison for OKLCH colors? #2992
Closed
maybebansky
started this conversation in
General
Replies: 1 comment
-
The precise values are necessary because when we convert other color formats to OKLCH under the hood (for example Hex to OKLCH) it should visually give the exact same Hex value again when converted back to Hex (using a color picker or a screenshot) Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm enjoying trying out the OKLCH color format but it seems the default colors have an unecessary level of precison.
Eg
--p
is49.12% .3096 275.75
. It seems exsessive for the hue channel to have 2 decimal points. Would it make a difference if it was275.8
or276
? Is it just like this as they were generated in some way?Very small point and not relaly an issue. I'm asking out of interest and because Im considering overiding the defaults with "simpler" colors to make copying and pasting between Figma easier.
Beta Was this translation helpful? Give feedback.
All reactions