PALETTE_GREENSHIFT
((g & PALETTE_COLORMASK) << PALETTE_GREENSHIFT) |
#define PALETTE_GREEN(entry) (((entry) >> PALETTE_GREENSHIFT) & \