Color.desaturated
- Color.desaturated(factor=10)[source]
Return a desaturated copy of the color.
- Parameters:
- factorfloat, optional
Percentage of saturation reduction.
- Returns:
- Raises:
- ValueError
If the percentage of desaturation is not in the range 0-100.