selects the defined color
myColorPicker.setColor([143,222,12]); //or myColorPicker.setColor("#8fde0c"); //or myColorPicker.setColor("rgb(143,222,12)");
3 variants of passing the value of a color: