Retrieve the color used by default for a given ggcharts theme

ggcharts_get_default_color(theme)

Arguments

theme

character. The name of a ggcharts theme.

Value

The default color for the given theme as a character

Examples

ggcharts_get_default_color("theme_hermit")
#> theme_hermit #> "#94C1E0"
ggcharts_get_default_color("theme_ng")
#> theme_ng #> "darkorange"