A function that is called whenever a new color is picked.
The newly selected color, as a CSS color string.
All color themes supported by the color picker. More themes might be added in the future.
All theme modes.
Converts an input field to a color picker input.
Generated using TypeDoc
Color format used by the color picker. The format affects which value is shown in the input field.
hexoutputs#RRGGBBor#RRGGBBAA.rgboutputsrgb(R, G, B)orrgba(R, G, B, A).hsloutputshsl(H, S, L)orhsla(H, S, L, A).autoguesses the format from the active input field. Defaults tohexif it fails.mixedoutputs#RRGGBBwhen alpha is 1; otherwisergba(R, G, B, A).