with_saturation method

with_saturation

Creates copy of the Color with specified saturation.

Returns

A new instance of the Color class.

def with_saturation(self, saturation):
    ...
ParameterTypeDescription
saturationfloatValue of saturation.

See Also