bgrins / TinyColor

Fast, small color manipulation and conversion for JavaScript
https://bgrins.github.io/TinyColor/
MIT License
5.05k stars 439 forks source link

[Question] OKLCH support? #273

Open ZombiEquinox opened 9 months ago

ZombiEquinox commented 9 months ago

I use TinyColor2 in one of my applications to help with color conversion for custom themes. I also use DaisyUI for my component library. Daisy recently switched all their colors to OKLCH for theme colors, which is currently not supported in tinycolor2. Do you have any plans to support OKLCH? I basically need to ability to switch Hex or RGB to OKLCH. I have looked into other libraries color color conversion but they aren't as good as tinycolor2.