blue()
Color / Creating & ReadingDescription
Extracts the blue value from a color.
Syntax
float blue(color c)
Parameters
| Name | Type | Description |
|---|---|---|
| c | color | any color value |
Returns
floatRelated
Under the Hood
From Processing.h:
float blue(color c);
Under the Hood
From Processing.cpp:
float PApplet::blue(color c) { unsigned int v=c.value; return (v&0xFF)/255.0f*colorMaxB; }