jQuery.basicColorPicker is a simplified color picker, without any bells or whistles
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
MIT-LICENSE.txt
README.md
index.html
package.json

README.md

What you get

  • A compact and simple color picker
  • Customize & extend what you like yourself

What you don't get

  • Funky transitions, hover effects, or animations

Try it

Signature

jQuery(selector).basicColorPicker(object options, function callBack) returns jQuery Object

Sample Usages

jQuery(selector).basicColorPicker();
jQuery(selector).basicColorPicker({ size: "20px" });
jQuery(selector).basicColorPicker({}, function(color) {
    alert(color);
});

Subscribe to EvenHandler

Instead of using the callBack as shown above, you can also subscribe to the eventHandler

jQuery(selector).bind("picker:selected", function(e){
    alert(e.color);
});