Color.darken
- Color.darken(factor=10)[source]
Darken the color.
- Parameters:
- factorfloat, optional
Percentage of lightness reduction.
- Returns:
- None
- Raises:
- ValueError
If the percentage of lightness reduction is not in the range 0-100.
Site Navigation
Darken the color.
Percentage of lightness reduction.
If the percentage of lightness reduction is not in the range 0-100.