You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RGB has 3 color channels. each channel has 1 byte stored in memory.
HSL/HSV has 3 channels storing the same information. Each channel is a REAL (not integer) number.
If you pass in HSLA and convert to RGB, there will often be rounding that occurs. Converting from HSV to RGB and back will not likely result in the same numbers. Converting to RGB to HSV and back to RGB should produce the same results though, in my experience,
I wrote a demo to reproduce this problem.
https://codepen.io/dangosky/pen/JjRGGbZ
The text was updated successfully, but these errors were encountered: