| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Extract the red component from a color value
int PgRedValue( PgColor_t color );
This macro extracts the red color component from a composite color value (a PgColor_t type). The result is between 0 and 255.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgRedValue() is a macro.
PgBlueValue(), PgCMY(), PgGreenValue(), PgHSV(), PgRGB(), PgSetFillColor(), PgSetFillDither()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |