new_color_scheme | R Documentation |
For more information about the use of color schemes in tidyplots, check out this article: Color schemes
new_color_scheme(x, name = "Untitled color scheme", reverse = FALSE)
x |
Character vector of hex colors. For example |
name |
Name of the custom color scheme. |
reverse |
Whether the order should be reversed or not. Defaults to |
A tidyplot
object.
new_color_scheme(c("#ECA669","#E06681","#8087E2","#E2D269"))
new_color_scheme(c("#ECA669","#E06681","#8087E2","#E2D269"),
name = "my_custom_color_scheme")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.