simonwep / pickr

🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
https://simonwep.github.io/pickr
MIT License
4.29k stars 287 forks source link

Support for the new RGB syntax #326

Closed guivr closed 11 months ago

guivr commented 1 year ago

Thank you so much for this!

It would be great to have support for the new CSS RGB syntax, which looks like this: rgb(31 120 50) rgb(30% 20% 50%); rgb(255 122 127 / 80%) rgb(255 122 127 / .2)

It's used by Tailwind, for example