JavaScript Color Picker

HTML
<input type="text" value="#ffa500">
CSS
body { padding: 50px; }
JAVASCRIPT
var body = document.body, target = document.querySelector('input[type=text]'), picker = new CP(target); picker.on("change", function(color) { body.style.backgroundColor = '#' + color; target.value = '#' + color; });
Expand for more options Login