mcolors | R Documentation |
Colour palette generation from matrix of RGB values
mcolors(
n,
colmatrix = matrix(c(0, 0, 1, 1, 1, 1, 1, 0, 0), 3, 3, byrow = TRUE)
)
n |
Integer number of colorus to produce. |
colmatrix |
A numeric |
A vector of n colours in hexadecimal RGB format.
mcolors(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.