RGB_MAKE

RGB_MAKE(r, g, b) ((D3DCOLOR) (((r) << 16) | ((g) << 8) | (b)))

Creates an RGB color from supplied values.

·Returns the color.

r, g, and b

Red, green, and blue components of the color to be created. These should be integer values in the range zero through 255.