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

GetRedValue

Returns the red component of a packed RGB color.

Syntax

GetRedValue(nPackedRGB)

nPackedRGB:

The packed RGB color.

Return Value

The red value (0-255) - if successful, otherwise an error is returned.

Related Functions

GetGreenValue, GetBlueValue

See Also

Color Functions