Skip to contents

These functions are color palettes used in incidence. The palettes come from https://personal.sron.nl/~pault/#sec:qualitative and exclude grey, which is reserved for missing data.

Usage

vibrant(n)

muted(n)

Arguments

n

[integer]

Number of colours.

double vectors will be converted via as.integer(n).

Examples

vibrant(5)
#> [1] "#0077BB" "#33BBEE" "#009988" "#EE7733" "#CC3311"
muted(10)
#> Using more colors (10) than this palette can handle (9); some colors will be interpolated.
#>  [1] "#332288" "#7EB9E2" "#53B1AB" "#228855" "#5C8933" "#B7AF51" "#D7AA77"
#>  [8] "#BC566F" "#8B255C" "#AA4499"