add.alpha {paleoDiv} | R Documentation |
Add transparency to any color
Description
Add transparency to any color
Usage
add.alpha(col, alpha = 0.5)
Arguments
col |
Color value or vector of colors |
alpha |
Opacity value to apply to the color(s) |
Value
A character vector containing color hex codes.
Examples
add.alpha("red",0.8)
[Package paleoDiv version 0.3.0 Index]