Color.saturate

Color.saturate(factor=10)[source]

Saturate the color by a given percentage.

Parameters

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

Returns

None

Raises

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