scaleHex | R Documentation |
This function scales the brightness of hex colors by a given factor.
scaleHex(hex, scaleFactor)
hex |
Hex color values as characters. |
scaleFactor |
A numeric value to scale the brightness. A value of 1 returns the original color. |
A hex color value with adjusted brightness.
scaleHex("#404040", 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.