Converts the supplied red, green and blue values into a 32bit integer.

Colors2RGB(nRed, nGreen, nBlue [, nAlpha])

Parameters

nRed

The red component. 0-255

nGreen

The green component. 0-255

nBlue

The blue component. 0-255

nAlpha (optional)

default = 0

The alpha channel (transparency level) of the color.

Return Value

The combined RGB value (numeric).

See Also

Reference

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