ColorPicker
A color picker component which allows the user to select a color from a list of pre-defined colors or freely select one color via the Hue and Saturation. It receives a color string in HEX format and outputs an HEX formatted color.
Select color
Region customization
You can configure the following Color Picker regions:
- The recommended colors region, via the
recommendedColors
array andrecommendedColorsPosition
; - The custom colors picker visibility, via
showCustomColors
; - The saved colors region, via the
showSavedColors
andsavedColorsValue
ordefaultSavedColorsValue
(uncontrolled).
#F6941E
Controlled
The value of the Color Picker can be controlled via the value
/onChange
props.
The value can also be read from onChangeComplete
, for a throttled value.
#95AFE8