![]()  | 
![]()  | 
![]()  | 
![]()  | 
Extract the green component from a color value
int PgGreenValue( PgColor_t color );
ph
This macro extracts the green color component from a composite color value. The result is between 0 and 255.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgGreenValue() is a macro.
PgAlphaValue(), PgARGB(), PgBlueValue(), PgCMY(), PgColor_t, PgHSV(), PgRedValue() PgRGB(), PgSetFillColor(), PgSetFillDither()
“Color” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |