Frequently Referenced Types
Color
Colors are strings which are formatted in one of the following ways.
Input Type | Description | Examples | Sample Color |
Color Picker | All color properties may use the ignition designer color picker to select colors. The value is translated from rgb and hsl to hex as the user edits the color picker values. |
See hex code input type. |
N/A |
Hex code | Colors may be entered as a six-digit hexadecimal RGB code. Each pair of values represents red, blue, and green, in that order. |
|
white red green pink |
RGB |
Colors may be entered as RGB values, with three values for red, blue, and green, in that order. |
|
white red green pink |
RGBA | Colors may be entered as RGBA values, with three values for red, blue, and green, in that order, in addition to an alpha value that controls transparency. |
|
white red green pink |
HSL | Colors may be entered as HSL values, specifying hue, saturation, and lightness. |
|
white red green pink |
HSLA |
Colors may be entered as HSLA values, specifying hue, saturation, and lightness, in addition to an alpha value that controls transparency. |
|
white red green pink |
Color String | A supported color may be written as a simple String. See Color Strings for examples of all supported colors. |
|
white red green pink |
Ignition Color String | Ignition provides a set of themed colors that may be referenced as a string. These colors will change depending on the selected theme. See the Ignition User Manual for an exhaustive list. |
|
N/A |
Sample Color Strings
Color | String | Hex Code | RGB | HSL |
white |
|
|
|
|
red |
|
|
|
|
green |
|
|
|
|
pink |
#FFC0CB |
|
|
Color names and hex values are not case-sensitive.