Color

Let you add a color selector field in your form

Object designer

fc_main

Object parameters

Double-click on the object to edit it. Object parameters dialog will pop-up.

fc_info

Key
Use this field to define the unique name of a variable in the context. After validation of the form, you'll find the resulting data in the context

if output format is HEX

{
    "color_picker": "#ff00ff"
}

if output format is HSL

{   
    "color_picker": "rgb(182, 215, 168)"
}

if output format is RGB

{
    "color_picker": "rgb(182, 215, 168)"
}

Output Format
Let you define the way the selected color will be saved in context

3 options:

Palette
You may define a set of custom color to be displayed in the palette as an array of named colors and rgb values.

[ "orange", "rgb(155, 25, 0)"]

If empty, default 64 colors palette will be used.