Py5Graphics.saturation()
Contents
Py5Graphics.saturation()#
Extracts the saturation value from a color.
Description#
Extracts the saturation value from a color.
This method is the same as saturation() but linked to a Py5Graphics
object. To see example code for how it can be used, see saturation().
Underlying Processing method: PGraphics.saturation
Signatures#
saturation(
rgb: int, # any value of the color datatype
/,
) -> float
Updated on March 06, 2023 02:49:26am UTC