shade | R Documentation |
The function shades or darkens an RGB value by adding black to the values.
shade(rgb_value, shade_factor = 0.1)
rgb_value |
A |
shade_factor |
A |
A matrix
with dimensions 3 \times 1
.
shade(c(22, 150, 230), shade_factor = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.