Loading

Pblue


processing
Since v1.0.0
Available on all platforms
See also

Extracts the blue value from a color, scaled to match current PcolorMode. The value is always returned as a double.

The Pblue function is easy to use and understand, but it is slower than bit masking.

Link to original Processing doc

Signature

Examples

100 100 '2D' PGraphics 0x2A0000ff //blue, 0x2A transparent Pblue //returns blue value