Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

MakeColour

  • Last UpdatedJul 18, 2023
  • 1 minute read

Creates a color from red, green and blue component parts.

Note: To define a transparent color, use the label TRANSPARENT.

Syntax

MakeColour(nRed,nGreen,nBlue)

nRed:

The color value for red, from 0-255

nGreen:

The color value for green, from 0-255

nBlue:

The color value for blue, from 0-255

Return Value

An integer that is an encoded representation of the color created.

Examples

! creates the color red
MakeColour(255,0,0)
! creates the color white
MakeColour(255,255,255)

Note: For backwards compatibility, you can refer to this function using the alias "MakeCitectColour".

See Also

Color Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in