Skip to main content
Version: 8.1

brighter

This function is used by Ignition's Expression language.

Description​

Returns a color that is one shade brighter than the color given as an argument. Note that if you pass in a fully saturated color, like (255,0,0), it cannot be made brighter.

Syntax​

brighter(color)

  • Parameters

    • Color color - A color to make brighter. Can use the color function to create a color value.
  • Results

    • Color - A color that is one shade brighter than the color passed in.

Examples

Code Snippet
brighter(color(100,150,250)) //returns the color (142,214,255)