Color Picker
The VColorPicker component allows users to select colors using a visual color canvas, sliders, and various input modes.Usage
API
Props
The selected color value. Can be a color string or object.
Color input mode. Options:
rgba, rgb, hsla, hsl, hexa, hex.Available color modes that users can switch between.
Height of the color canvas in pixels.
Disables the color picker.
Size of the color selector dot on the canvas.
Hides the color selection canvas.
Hides the hue and alpha sliders.
Hides the color value input fields.
Makes the color picker read-only.
Displays color swatches for quick selection.
Array of color swatches to display.
Maximum height of the swatches section.
Hides the eye dropper tool.
Custom icon for the eye dropper tool.
Events
Emitted when the color value changes.
Emitted when the color mode changes.