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

Access to pickr method #284

Closed ptorrent closed 3 years ago

ptorrent commented 3 years ago

Hello there !

Is there a way to access to Pickr static method to get a "HSVaColor object" from a string ?

Something like:

Pickr.utils.getHSVaColorObject('#000000')

I want to use some of your method without creating a picker..

Thanks for your help !

simonwep commented 3 years ago

Hey :) No, that's not possible. See the README for the status of this project and why I won't add that.