Skip to main content
Version: 8.1

darker

This function is used by Ignition's Expression language.

Description​

Returns a color that is one shade darker than the color given as an argument.

Syntax​

darker(color)

  • Parameters

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

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

Examples​

Code Snippet
darker(color(100,150,250)) //returns the color (70,105,175)