Websanova Color Picker

Very simple color picker plugin built in jquery.

Usage:

  • optional options
    • $(“#container”).colorPicker([options]);

Options:

  • color
    • Specify the initial color of your target: $(“#container”).colorPicker({color: “#FF0000″});
  • onSelect
    • Pass a function that will execute when a color is selected: $(“#container”).colorPicker({onSelect: function(){}});
  • onClose
    • Pass a function that will display a close button in the top right hand corner which will execute the function when clicked: $(“#container”).colorPicker({onClose: function(){}});

Similar Posts