Description Usage Arguments Details Value See Also Examples
Get and interpolate colors
1 |
col |
color name in the |
n |
Integer, default is length of |
show |
Boolean, whether to visualize those colors? |
supported col names
: 270 ncl colors (names(rcolors)
) and 35
RColorBrewer colors (names(colors_group$brewer)
).
A character vector with elements of 7 or 9 characters, "#"
followed by the red, blue, green and optionally alpha values in
hexadecimal (after rescaling to 0 ... 255
). The optional alpha
values range from 0
(fully transparent) to 255
(opaque).
R does not use ‘premultiplied alpha’.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.