Color picker
Using the color picker element, the user can select a color from a graphical color palette.
The resulting value is written to the element data either as a 24-bit integer or as a string (hexadecimal representation), depending on the 'Color value as string' option.
Configuration options – 'Color picker' editor section:
Option name |
Effect |
Color value as string |
Specifies whether the selected color is written to the element data as a 24-bit integer (disabled) or as a string in hexadecimal notation (enabled). |
Supports style variables |
Activates an additional palette that allows to select colors from the style variables (Styles).
The option 'Color value as string' will be activated automatically, because the color value can also correspond to the name of a style color (see image). |
See also: cssColor, intToHex (Convert integer to hexa decimal format), Lobster_pro: resolve as hexadecimal color