lighten
Lightens the color by the specified ratio.
This function lightens the color by adjusting its tone based on the provided ratio. A ratio of 1.0
lightens the color to its maximum extent, while values greater than 1.0
will lighten the color even more. If the resulting tone is invalid, the original color is returned.
Receiver
The Color to lighten.
Return
The lightened Color, or the original color if the lightened color is not valid.
Parameters
ratio
The ratio by which to lighten the color; must be greater than 0.0
.