Simple color picker with a focus on good ux for the average user, that works on android, ios, and desktop. to be bundled with drawr.
View on github
Example 1
//Code for Example 1
html
<input type="text" id ="picker" />
js
$("#picker").drawrpalette();
Features
- Simple but intuitive UI
- Android/iOS/Desktop support
- events
Options
Methods ($("picker").drawrpalette(methodname,param))
- destroy (restores the original input)
- set (sets a hex color)
Events
- preview.drawrpalette (while picking a color)
- cancel.drawrpalette (dialog closed or cancel pressed)
- choose.drawrpalette (a color was picked)
- open.drawrpalette (the dialog is opened)
- close.drawrpalette (the dialog is closed)
This project is maintained by Avokicchi