color_channels | R Documentation |
This primarily restricts the colors to color-space safe options. It is
intended to be used with add_colors()
to provide a color scheme for the
ggm
object. It has been exposed to users for custom or advanced theming
options.
color_channels(x, palette, mode = "dark")
x |
Vector of |
palette |
A
|
mode |
A
|
Vector of hex code colors as character
based on the selected
palette and light/dark mode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.