The default color value to set when creating this action/feedback/instance Can be a color string or a color number Valid strings are CSS color strings in Hex, RGB, HSL or HSV notation with ot without alpha Valid numbers are 0x0 - 0xffffffff, where the components are ttrrggbb, you can generate the number with combineRgb()
'#f00'
'#ff0000'
'#ff0000ff'
'rgb(255,0,0)
'rgba(255, 0, 0, 1.0)
'hsl(0, 100, 50)'
'hsv(0, 100, 100)'
0xff0000
Optional
enableThis will enable a alpha entry slider and input
The unique id of this input field within the input group
Optional
isA function called to check whether this input should be visible, based on the current options selections within the input group
Note: This function must not depend on anything outside of its scope. If it does it will fail to compile and will be skipped.
Optional
isJSON serializable data to provide to isVisible
The label of the field
Optional
presetIf set, this will override the default colors shown in the swatch. Enter an array of either color strings or objects with color strings and titles
Optional
returnSpecify if you want the colorpicker returning it's value as a CSS string or as a color number. This will also be the format stored in the database for this value
Optional
tooltipA hover tooltip for this field
The type of this input field
A colour picker input
Available for actions/feedbacks/config Has three optional configuration properties:
enableAlpha
will show the colour picker with an additional alpha entryreturnType
do you want to get the results as CSS string or Companion color numberpresetColors
replace the default swatch with your own colors when setExample