Mix color into color(s)
Arguments
- col
A
colors
object (seecolor()
) or a vector of any of the three kinds of R color specifications, i.e., either a color name (as listed bygrDevices::colors()
), a hexadecimal string (seecol2rgb()
), or a positive integeri
meaninggrDevices::palette()
[i]
.- mix_in
Same as
col
.- ratio
Numeric between 0 and 1. 0 will result in
col
. 1 results in all the colors turning tomix_in
. Must be of length 1 or the same length ascol
.