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

PackedRGB

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

Syntax

PackedRGB(nRed, nGreen, nBlue)

nRed:

The red component of the desired packed RGB color.

nGreen:

The green component of the desired packed RGB color.

nBlue:

The blue component of the desired packed RGB color.

Return Value

The packed RGB color value - if successful, otherwise an error is returned.

Related Functions

CitectColourToPackedRGB

See Also

Color Functions