get_saturation method

get_saturation(self)

Gets the hue-saturation-lightness (HSL) saturation value for this color.

Returns

The saturation of this color. The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.

def get_saturation(self):
    ...

See Also