View source: R/color_functions.R
genPalettes | R Documentation |
Generate distinct color palettes
genPalettes(
n = 1,
length_each = 3,
dist = 0.75,
saturation = c(0.5, 0.7),
lightness = c(0.5, 0.7),
cvd = "protan",
cvd_severity = 0.2,
seed = 123,
...
)
n |
Number of palettes |
length_each |
Length of each palette (either a single digit or a vector of length n) |
dist |
Distance between palettes |
... |
genPalettes(n = 10) %L>% showColors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.