how to create a colorpicker