Hi
How can I change the default set of 40 colours (8x5) presented in the colorPicker ?
Thanks, Ben.
How can I change the default set of 40 colours (8x5) presented in the colorPicker ?
Thanks, Ben.
ColorPicker colorPickerProperties = new ColorPicker();
colorPickerProperties.setColorArray(new String[]{
"#D8D8D8","#BBB6AE","#D6E0EC","#EFD3D2","#E6EED7","#DFD8E7","#D2EAF0","#FCE6D4",
"#BFBFBF","#A29D96","#ADC1D9","#DFA7A6","#CEDDB0","#BFB2CF","#A5D5E2","#FACEAA",
"#A5A5A5","#7D7974","#84A2C6","#CF7B79","#B5CC88","#9F8CB7","#78C0D4","#F7B580",
"#8C8C8C","#575551","#456287","#903C39","#758C48","#604C78","#388194","#B77540",
"#7F7F7F","#3E3C3A","#2E415A","#602826","#4E5D30","#403350","#255663","#7A4E2B"
});
ColorPicker.setDefaultProperties(colorPickerProperties);
Comment