color_picker: a bit of rework for color_picker.