defines user's custom colors
color | string|array | the value of a color or a comma-separated list of colors in different formats |
myColorPicker.setCustomColors("#aabbcc");
//or
myColorPicker.setCustomColors("#aabbcc","rgb(255,0,0)",[255,0,233]);
//or
myColorPicker.setCustomColors("#aabbcc,#ff0000,#00ff00");
Back to top