View source: R/lighten_color.R
lighten_color | R Documentation |
This function lightens a given color by a specified factor.
lighten_color(color, factor)
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. |
A character string representing the lightened color in RGB format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.