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
there must be some kind fo logic in your code to convert the RGB values to HEX and so on. Would it be possible to expose these functions for further use?
I want the user to be able to use the input as RGB, HEX, ... I don't mind.
However, I need to convert the values to HEX when saving.
It'd be nice to use the same functions since that should be less error-prone.
I can only find some of these functions:
cmykToRgb
hsla2hsva
hsva2hsla
hsvaToRgba
rgbaToCmyk
rgbaToHex
rgbaToHsva
stringToHsva
There's only a function to convert rgba directly to hex.
Or do you convert the color value to other values as well before you convert to hex? In that case, I can just do it the same way. I was just wondering if some functions are not being exported.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered:
Hey,
there must be some kind fo logic in your code to convert the RGB values to HEX and so on. Would it be possible to expose these functions for further use?
I want the user to be able to use the input as RGB, HEX, ... I don't mind.
However, I need to convert the values to HEX when saving.
It'd be nice to use the same functions since that should be less error-prone.
I can only find some of these functions:
There's only a function to convert rgba directly to hex.
Or do you convert the color value to other values as well before you convert to hex? In that case, I can just do it the same way. I was just wondering if some functions are not being exported.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered: