I have a case that in admin panel I want to let user to choose the colors then store them in db, and later I will read from db and set some css variable at runtime.
The feature I am requesting is to add helper function or something to handle converting ColorEvent to string that can be stored and be used in frontend as valid color, (for example hsla(20, 50%, 100%, 0.5) ) and then converting back this string to HSLA | HSVA | RGBA | string that can be assigned to color input.
Hi, first of all thank you for great work here.
I have a case that in admin panel I want to let user to choose the colors then store them in db, and later I will read from db and set some css variable at runtime.
The feature I am requesting is to add helper function or something to handle converting ColorEvent to string that can be stored and be used in frontend as valid color, (for example
hsla(20, 50%, 100%, 0.5)
) and then converting back this string toHSLA | HSVA | RGBA | string
that can be assigned tocolor
input.