D3DRMCreateColorRGB

D3DCOLOR D3DRMCreateColorRGB(D3DVALUE red, D3DVALUE green,

D3DVALUE blue);

Creates an RGB color from supplied red, green, and blue components.

·Returns the new RGB value if successful, or zero otherwise.

red, green, and blue

Components of the RGB color.