cityImage.lighten_color#
- cityImage.lighten_color(color, amount=0.5)[source]#
Lightens the given color by multiplying (1-luminosity) by the given amount.
- Parameters:
color (str or tuple) – The color to be lightened. It can be a matplotlib color string, hex string, or RGB tuple.
amount (float, optional) – The amount by which to lighten the color. Default value is 0.5.
- Returns:
The lightened color in RGB format.
- Return type:
tuple