Color.saturated

Color.saturated(factor=10)[source]

Return a saturated copy of the color.

Parameters

factor (float, optional) – Percentage of saturation increase.

Returns

Color

Raises

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