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
{{ message }}
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
Another bug when I was playing with the change color mode feature.
Right now all the RGB values are 50.
I change the color mode (using ColorPickerChangeColorMode) to hsl, which is the only option.
And when I switch back to RGB, every RGB value is up by 1 (they were all 50 just before). The whole color is messed up.
The weird thing is for some colors, the color mode changing feature works ok (the RGB values are the same after switching back), but for some colors, this bug appears.
The text was updated successfully, but these errors were encountered:
First of all, ColorPickerChangeColorMode only switches RGB to HSL and vise versa, it lets you change the color in RGB or HSL mode. If you want the output to be HEX, press o or use ColorPickerChangeOutputType.
About the RGB value gets converted back, it has to do with the HSL to RGB conversion. I don't think I can do any thing about this. You can run the same rgb(50,50,50) test in this online example: https://hslpicker.com/#333
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Another bug when I was playing with the change color mode feature.
Right now all the RGB values are 50.

I change the color mode (using ColorPickerChangeColorMode) to hsl, which is the only option.

And when I switch back to RGB, every RGB value is up by 1 (they were all 50 just before). The whole color is messed up.

The weird thing is for some colors, the color mode changing feature works ok (the RGB values are the same after switching back), but for some colors, this bug appears.
The text was updated successfully, but these errors were encountered: