#define RedVal(color) (((color) >> 16) & 0xFF)
colordef.h
Get the red value of a color. This is a 0-255 unsigned byte.
Macros