View source: R/chrestos_colors.R
chrestos_colors | R Documentation |
Hex color codes of Chrestos colors in different shades
chrestos_colors(..., shade = 0.5, names = TRUE)
... |
Names of the colors. Possible values are |
shade |
Numeric vector in [0,1] that defines the brightness of the color(s). Values higher then 0.5 lead to brighter colors than the original shade, values lower than 0.5 lead to darker colors. |
names |
Should the colors be returned as a named vector (default = TRUE) |
A named vector of hex codes.
chrestos_colors() chrestos_colors("turq", "purple", shade = c(0.1, 0.9)) chrestos_colors("turq", shade = c(0.1, 0.5, 0.9)) chrestos_colors("turq", "green", "purple", shade = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.