Loading

Pblue

processing

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

Pblue is available since version 1.0.0.

See also

Signatures

Examples

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