Color.saturated

Color.saturated(factor=10)[source]

Return a saturated copy of the color.

Parameters:
factorfloat, optional

Percentage of saturation increase.

Returns:
compas.colors.Color
Raises:
ValueError

If the percentage of desaturation is not in the range 0-100.