ReadonlyariaAccessible label for the trigger button.
ReadonlyavailableRestrict available mode tabs. When set, only these modes are shown.
ReadonlycolorEmitted after the user confirms a colour from the popover.
ReadonlydisabledWhether the trigger button is disabled.
ReadonlyinitialWhich mode tab the popover opens to.
ReadonlyvalueThe current colour as a hex string (#rrggbb or #rrggbbaa).
A colour-picker trigger button.
Displays a small colour swatch showing the current value. Clicking the button opens a popover with four mode tabs:
The selected colour is emitted as a hex string (
#rrggbbor#rrggbbaawhen alpha < 1).Example