Color::SetRGB

Color::SetRGB
inline void SetRGB(UByte r, UByte g, UByte b);
Description

SetRGB assigns the color's red, green, and blue channels (Channels.Red,Green,Blue) to the three passed 8-bit values. The current color's alpha value is not changed.

Parameters
Parameters 
Description 
UByte r 
A value assigned to the red channel. 
UByte g 
A value assigned to the green channel. 
UByte b 
A value assigned to the blue channel. 
See Also