Description Usage Arguments Value Author(s) Examples
This function first converts colors to the RGB and HSV space, then modifies
the brightness (the V
component in HSV) by an amount.
1 |
color |
the color vector |
factor |
numeric: larger than 0 means to make the color lighter, and less than 0 means darker (can be either a vector or a scalar) |
The modified color vector.
Heike Hofmann and Yihui Xie
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.