returns user's custom colors saved in the memory panel
array | array of colors codes |
myColorPicker.setCustomColors("#aabbcc");
var colorsCustom = myColorPicker.getCustomColors();
// (["#aabbcc"]);
// or
myColorPicker.setCustomColors("#aabbcc","rgb(255,0,0)",[255,0,233]);
var colorsCustom = myColorPicker.getCustomColors();
// (["#aabbcc", "#ff0000", "#ff00e9"]);
// or
myColorPicker.setCustomColors("#aabbcc,#ff0000,#00ff00");
var colorsCustom = myColorPicker.getCustomColors();
// (["#aabbcc", "#ff0000", "#00ff00"]);
Back to top