Splits a RGB into it's component parts.

RGB2Colors(nRGB, @Red, @Green, @Blue [, @Alpha])

Parameters

nRGB

A combined color value.

@Red

A variable by reference into which the red part of the color is stored.

@Green

A variable by reference into which the green part of the color is stored.

@Blue

A variable by reference into which the blue part of the color is stored.

@Alpha (optional)

A variable by reference into which the alpha channel of the color is stored.

Return Value

Always .T.

See Also

Reference

Colors2RGB
Double2Str
Float2Str
Int642Str
Long2Str
Num2Binary
PG_ByteA2Str
PG_Str2ByteA
Short2Str
Str2Double
Str2Float
Str2Int64
Str2Long
Str2Short
Str2UInt64
Str2ULong
Str2UShort
UInt642Str
ULong2Str
UShort2Str
Value2Variant
Variant2Value