
Default Discrete Color Palettes
Source:R/utils_color_discrete_default.R
      utils_color_discrete_default.RdUses the function grDevices::palette.colors() to generate discrete color palettes using the following rules:
- n <= 9: "Okabe-Ito".
- n == 10: "Tableau 10"
- n > 10 && n <= 12: "Paired"
- n > 12 && n <= 26: "Alphabet"
- n > 26 && n <= 36: "Polychrome 36"
See also
Other internal_plotting:
utils_color_breaks(),
utils_color_continuous_default(),
utils_line_color(),
utils_line_guide(),
utils_matrix_guide(),
utils_matrix_plot()