translude: Make translucient colors
Description
Make translucient colors.
Usage
translude(colors, alpha = 0.6)
Value
A vector of translucient (or
semi-transparent) colors.
Arguments
- colors
A vector of colors in a format that can be understood by
col2rgb.
- alpha
Vector of level(s) of opacity between 0 and 1 (0 means fully
transparent and 1 means opaque). After recycling to reach the
required length, this value or vector is used as alpha in
rgb.