clr_mix | R Documentation |
Mix color into color(s)
clr_mix(col, mix_in, ratio = 0.5)
col |
A |
mix_in |
Same as |
ratio |
Numeric between 0 and 1. 0 will result in |
A colors
object of the same length as col
.
plot(clr_mix(rainbow(10), "blue"))
plot(clr_mix(rainbow(10), "red"))
plot(clr_mix(rainbow(10), "#5500EE"))
plot(clr_mix(rainbow(10), "black", seq(1, 0, length.out = 10)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.