Pals: Color Palettes, Colormaps, and Tools to Evaluate Them

Package pals

July 17, 2024

Title Color Palettes, Colormaps, and Tools to Evaluate Them

Version 1.9

Description A comprehensive collection of color palettes, colormaps, and

tools to evaluate them. See Kovesi (2015) .

License MIT + file LICENSE

URL

BugReports

Depends R (>= 2.10)

Imports colorspace, dichromat, graphics, grDevices, mapproj, maps,

methods, stats

Suggests classInt, ggplot2, knitr, latticeExtra, reshape2, rgl,

rmarkdown, testthat

VignetteBuilder knitr

Encoding UTF-8

Language en-US

RoxygenNote 7.3.1

NeedsCompilation no

Author Kevin Wright [aut, cre, cph] ()

Maintainer Kevin Wright

Repository CRAN

Date/Publication 2024-07-16 22:10:02 UTC

Contents

bivariate .

brewer . .

continuous

discrete .

kovesi . .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

1

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

. 2

. 4

. 8

. 11

. 14

2

bivariate

matplotlib . . .

niccoli . . . . .

ocean . . . . .

pal.bands . . .

pal.channels . .

pal.cluster . . .

press .

pal.csf . . . . .

pal.cube . . . .

pal.dist . . . . .

pal.heatmap . .

pal.heatmap2 .

pal.map . . . .

pal.maxdist . .

pal.safe . . . .

pal.scatter . . .

pal.sineramp . .

pal.test . . . . .

pal.volcano . .

pal.zcurve . . .

pals . . . . . .

pals.maxcolors

penobscot . . .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Index

bivariate

Bivariate palettes

Color palettes designed for bivariate choropleth maps.

arc.bluepink(n = 9)

brewer.qualbin(n = 6)

brewer.divbin(n = 6)

brewer.divseq(n = 9)

brewer.qualseq(n = 9)

brewer.divdiv(n = 9)

brewer.seqseq1(n = 9)

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

17

18

19

21

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

40

42

Description

Usage

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

bivariate

3

brewer.seqseq2(n = 9)

census.blueyellow(n = 9)

tolochko.redblue(n = 9)

stevens.pinkgreen(n = 9)

stevens.bluered(n = 9)

stevens.pinkblue(n = 9)

stevens.greenblue(n = 9)

stevens.purplegold(n = 9)

vsup.viridis(n = 32)

vsup.redblue(n = 32)

Arguments

n

Number of colors to return.

Details

In many of these palette names, the color in the upper left corner is given first, and the color in the

lower right corner is given second.

The brewer.* palettes use bin (binary), div (diverging), qual (qualitative), seq (sequential)

for the horizontal and vertical directions.

The arc.bluepink palette uses white in the lower-left corner, which makes it difficult to see the

difference between low values and missing data on maps.

The census.blueyellow palette is slightly different, in that one direction uses lightness, and the

other direction uses hue (yellow, green, blue).

The vsup.* palettes are Value-Suppressing Uncertainty Palettes.

We strongly discourage using vsup.viridis, because the horizontal axis has changes in brightness,

which are confounded with the changes in brightness in the vertical axis.

These palettes are all deliberately chosen to be discrete.

Bivariate color palettes can be difficult to use and interpret. Please be careful.

Value

A vector of colors as hex strings.

Author(s)

Palette colors by various authors. R code by Kevin Wright.

4

brewer

References

Joshua Stevens.

Cindy Brewer.

Michael Correll AND Dominik Moritz AND Jeffrey Heer. (2018). Value-Suppressing Uncertainty

Palettes.

Robin Tolochko.

Aileen Buckley.

Total Population, p. 4.

Examples

bivcol ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download