RGBA_GETGREEN

RGB_GETGREEN(rgb) (((rgb) >> 8) & 0xff)

Retrieves the green component of an RGBA D3DCOLOR value.

·Returns the green component.

rgb

Color index from which the green component is retrieved.