Discrete color scale based on OMNI colors
Usage
scale_color_omni_discrete(
palette = c("orange-red-400", "golden-yellow-400", "olive-green-400", "teal-400",
"plum-400", "periwinkle-400"),
reverse = FALSE,
...
)
Examples
library(ggplot2)
ggplot(mpg, aes(x = displ, y = hwy, color = class)) +
geom_point(size = 2.5) +
scale_color_omni_discrete()