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