PgGreenValue
![]() |
![]() |
![]() |
![]() |
PgGreenValue()
Extract the green component from a color value
Synopsis:
int PgGreenValue( PgColor_t color );
Arguments:
- color
- A composite color value, of type PgColor_t.
Library:
ph
Description:
This macro extracts the green color component from a composite color value. The result is between 0 and 255.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
Caveats:
PgGreenValue() is a macro.
See also:
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
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
