Skip to contents

A named list of discrete and continuous color palettes for consistent styling in macpie plots.

Usage

macpie_colours

Format

A named list with the following elements:

  • discrete: Preferred unikn palette colors.

  • discrete_40: 60-color extension sampled for high cardinality.

  • discrete_400: 400-color diverging Zissou1 palette (reversed).

  • high: Single high-emphasis color.

  • low: Single low-emphasis color.

  • divergent: 100-step divergent palette.

  • continuous: 100-step continuous palette (high to white to low).

  • continuous_rev: Reverse of continuous.

  • scale_3: Three-color scale for small categorical data.

Examples

macpie_colours$discrete
#> [1] "#59C7EB" "#E0607E" "#0A9086" "#FEA090" "#3E5496" "#EFDC60" "#8E2043"
#> [8] "#9AA0A7" "#077187"
barplot(rep(1, 10), col = macpie_colours$discrete_40, border = NA)