colorPicker logic