Choose color schema from a palette
chooseColors(
palettes_name = c("Nature 10", "Light 13", "Classic 20", "Blink 23", "Hue n"),
n_colors = 7,
alpha = 1,
plot_colors = FALSE
)
a string, the palette name, one of "Nature 10", "Light 13", "Classic 20", "Blink 23" and "Hue n", default as 'Nature 10'.
a positive integer, the number of colors.
a positive real, the transparency of the color.
a logical value, whether plot the selected colors.
chooseColors()
#> [1] "#E04D50FF" "#4374A5FF" "#F08A21FF" "#2AB673FF" "#FCDDDEFF" "#70B5B0FF"
#> [7] "#DFE0EEFF"