Simple color picker
Most simple example, with any options or color information.
Automatic format detection
Whenever the format option is false (default), the first parsed color format will be detected and used as default, but when the option equals null or empty string, the format is recalculated every time.
Setting the initial color
The initial color can be specified in 3 ways: input value, data-color attribute and programmatically with the color constructor option. The used initial color has this precedence order when present and not empty: color option, input value, input data-color attribute, colopicker element data-color attribute.
Force a format
If defined, the format option forces an specific format, ignoring the original one.
Documentation
You can find examples and documentation of the color picker here: Bootstrap color picker