This was copy-pasted from button classes and not useful here.
ColorInput is a new GUI component for selecting color using ColorPicker dialog. It is simplify usage of ColorPicker dialog and more elegant view of current selected color.