Description Usage Arguments Value Examples
Mixes two colors or matching vectors of colors according to some relative weight and exports the result either in rgb or hex format.
1 |
col_1, col_2 |
character vector of length one or of matching length containing colors either as a color name (see colors), rgb format (see rgb), or hex format. |
weight |
numeric between 0 and 1 specifying the relative mixing weight for color
one. E.g., |
format |
character string specifying the output format. Either |
A vector of length max(length(col_1), length(col_2))
containing the
mixed colors in the specified format.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.