color_variable

Variable — HEX color as a string.

Parameters

Parameters Description
name

string

Required parameter.

Variable name.

type

string

Required parameter.

The value must always be color.

value

string

Required parameter.

Value. Supports expressions for variable initialization.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

JSON
{
  type*: "color",
  name*: "string",
  value*: "string"
}