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