Skip to end of metadata
Go to start of metadata

This function is used by Ignition's Expression language.

Creates a color using the given red, green, and blue amounts, which are integers between 0-255. The optional alpha channel to the color controls transparency.

color(red, green, blue[, alpha])

  • Parameter

int red - The intensity of Red, between 0 - 255.

int green - The intensity of Green, between 0 - 255.

int blue - The intensity of Blue, between 0 - 255.

int alpha - Optional. The amount of transparency, between 0 - 255.

  • Results

Color - Returns a color with the given RGB value.


There are no expression function examples associated with this expression function.

  • No labels