Loading

Psaturation

processing

Extracts the saturation value from a color.

Link to original Processing doc

Psaturation is available since version 1.0.0.

See also

Signatures

Examples

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