Color.lightened

Color.lightened(factor=10)[source]

Return a lightened copy of the color.

Parameters:
factorfloat, optional

Percentage of lightness increase.

Returns:
compas.colors.Color
Raises:
ValueError

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