get_colors | R Documentation |
This is a helper function that provides hex color codes for
jtools
, interactions
, and perhaps other packages.
get_colors(colors, num.colors = 1, reverse = FALSE, gradient = FALSE)
colors |
The name of the desired color class or a vector of colors. See details of jtools_colors. |
num.colors |
How many colors should be returned? Default is 1. |
reverse |
Should the colors be returned in reverse order, compared to normal? Default is FALSE. |
gradient |
Return endpoints for a gradient? Default is FALSE. If TRUE,
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.