Color.darken
- Color.darken(factor=10)[source]
- Darken the color. - Parameters
- factor (float, optional) – Percentage of lightness reduction. 
- Returns
- None 
- Raises
- ValueError – If the percentage of lightness reduction is not in the range 0-100. 
 
Darken the color.
factor (float, optional) – Percentage of lightness reduction.
None
ValueError – If the percentage of lightness reduction is not in the range 0-100.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev