ChangeColorLightness | R Documentation |
Internal function: if the lightness value is <0.5 the color is considered dark if the lightness value is >=0.5 the color is considered light
ChangeColorLightness(hex_color, factor)
c |
SLA
c_hex = '#FFA550'
c_new = ChangeColorLightness(c_hex, 0.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.