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

PackedRGBToCitectColour

Converts a packed RGB color into a calculated CitectSCADA color value.

Syntax

PackedRGBToCitectColour(nPackedRGB)

nPackedRGB:

The packed RGB color.

Return Value

The CitectSCADA color value if successful; otherwise an error is returned.

Related Functions

CitectColourToPackedRGB

See Also

Color Functions