ColorPicker
Choose colors for content and branding.
Choose a color
Click the swatch, color value or any empty area of the control to open the picker.
Formats and transparency
Presets and states
Gradients
ColorPicker API
ColorPreset
Types
Import these types to define props or prepare data.
Usage notes
Colors are strings; HEX may contain eight digits when opacity is enabled. Changing format preserves the submitted value; the next adjustment outputs the selected format. onChange reports live changes, while onChangeComplete reports pointer release, keyboard adjustment, input submission or preset selection.
Use arrow keys in the color plane, with Shift for larger steps. Left/right adjust saturation; up/down adjust brightness. Enter or blur submits color text; invalid text displays an error. Supports FormData, required validation and uncontrolled form reset. Reset controlled state in your application.