Color Processing Functions
This section describes expression language functions related to processing color-type values.
Function | Description | Result Type | Backend Support | Frontend Support |
blue(Color color) | Returns blue component of a color (0...255). | Integer | Yes | Yes |
brighter(Color color) | Applies an arbitrary scale factor to each of the three RGB components of color argument to create a brighter version of this color. | Color | Yes | Yes |
color(Integer red, Integer green, Integer blue) | Constructs a color by three RGB values. Each component may must be in 0..255 range. | Color | Yes | Yes |
darker(Color color) | Applies an arbitrary scale factor to each of the three RGB components of color argument to create a darker version of this color. | Color | Yes | Yes |
green(Color color) | Returns green component of a color (0...255). | Integer | Yes | Yes |
red(Color color) | Returns red component of a color (0...255). | Integer | Yes | Yes |
Was this page helpful?