lighten_color: Lighten a Color
Description
This function lightens a given color by a specified factor.
Usage
lighten_color(color, factor)
Value
A character string representing the lightened color in RGB format.
Arguments
- color
A character string representing a color in any valid format (e.g., hex code, color name).
- factor
A numeric value between 0 and 1 indicating the amount to lighten the color.
A factor of 0 means no change, while a factor of 1 results in white.