simple color picker, see the demo.
$ component install yields/colorpicker
var el = document.querySelector('div');
var picker = require('colorpicker')(el);
picker.on('pick', function(){
console.log(el.style.background); // "rgb(.., .., ..)"
});Initialize a new ColorPicker on el.
bind events.
How much time in ms should the picker freeze after a click happened.
The method should be called if el height or width changes.
Move to y, x, this will also change the color.
Set the color manually.
Unbind all events.
MIT
