The ColorPicker component allows users to select colors using a color picker interface.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gradio-app/gradio/llms.txt
Use this file to discover all available pages before exploring further.
Basic usage
Constructor
Default color as hex code (e.g., “#FF0000”)
Label displayed above component
Additional info text. Supports markdown/HTML
Whether color can be changed
Events
- change - Triggered when color changes
- input - Triggered on input
- submit - Triggered when Enter is pressed
- focus - Triggered when component gains focus
- blur - Triggered when component loses focus