Skip to content

Interface: ColorOption ​

A colour the user can choose.

Properties ​

PropertyTypeDescription
idstringStored in the document, e.g. 'brand'. Letters, digits, - and _.
labelstringShown in the menu and announced, e.g. 'Red'.
valuestringCSS colour: #rgb, #rrggbb (or with alpha), or var(--name).