Loading

Pbrightness


processing
Since v1.0.0
Available on all platforms
See also

Extracts the brightness value from a color.

Link to original Processing doc

Signature

Examples

100 100 '2D' PGraphics 0xffb3ace3 //light violet, opaque Pbrightness 255.0 / 100.0 * //returns hue value on a [0-100] scale