mnb_divergent_colors.Rd
This function returns the divergent colors for a given n.
mnb_divergent_colors(n, rev = FALSE)
Number of colors
Logical. If TRUE, reverses the order of the colors. Default is FALSE.
A vector of colors
library(ggplot2) scales::show_col(mnb_divergent_colors(4))