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
It would be very handy to have some methods to convert HEX or RGB to HSLuv colors in order to generate palettes based on brand colors for projects. As it is, I'm usually pasting the hex colors on the hsluv.org site to get the values, which is a bit tedious. Something like hsluv.fromHex([hex color]), hsluv.fromRGB([RGB color]), or if it can be automatically detected, hsluv.create([color]). Other color spaces like HSL might also be useful.
Thanks for working on the project. It's helped me generate accessible palettes for projects.
The text was updated successfully, but these errors were encountered:
It would be very handy to have some methods to convert HEX or RGB to HSLuv colors in order to generate palettes based on brand colors for projects. As it is, I'm usually pasting the hex colors on the hsluv.org site to get the values, which is a bit tedious. Something like
hsluv.fromHex([hex color])
,hsluv.fromRGB([RGB color])
, or if it can be automatically detected,hsluv.create([color])
. Other color spaces like HSL might also be useful.Thanks for working on the project. It's helped me generate accessible palettes for projects.
The text was updated successfully, but these errors were encountered: