lighten_color {ggtaxplot} | R Documentation |
Lighten a Color
Description
This function lightens a given color by a specified factor.
Usage
lighten_color(color, factor)
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. |
Value
A character string representing the lightened color in RGB format.
[Package ggtaxplot version 0.0.1 Index]