Cicode Programming Reference > Cicode Function Categories > Color Functions Introduction > Color Functions

Color Functions

Following are functions relating to colors:

CitectColourToPackedRGB

Converts a CitectSCADA color into a packed RGB color value that can be used by an ActiveX object.

GetBlueValue

Returns the Blue component of a packed RGB color.

GetGreenValue

Returns the Green component of a packed RGB color.

GetRedValue

Returns the Red component of a packed RGB color.

MakeCitectColour

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

PackedRGB

Returns a packed RGB color based on specified red, green, and blue values.

PackedRGBToCitectColour

Converts a packed RGB color into the nearest equivalent CitectSCADA color.

See Also

Cicode Functions