RGB_GETGREEN

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

Retrieves the green component of a D3DCOLOR value.

·Returns the green component.

rgb

Color index from which the green component is retrieved.