You can configure a color picker. However, we recommend that you use a color padding box instead (set the type field to fill).

Configuration description

FieldDescriptionData typeRequired?Remarks
typeThe type of the control.stringYesNone.
nameThe name of the control.stringYesNone.
defaultThe default value.stringNoIf this field is not specified, the default value is #000.

Value description

ConditionData typeExampleDefault value
Nonestring12"#000"

Configuration examples

Configuration example of a color picker
"color": {
    "name": "Color",
    "type": "color",
    "default": "#fff"
}