Fabio Crameri’s Colour Schemes

N. Frerebeau

2021-06-14

library(khroma)

1 Introduction

Crameri (2018) offers carefully chosen schemes, ready for mapping data, with colours that are:

All the scales presented in Crameri (2021) are implemented here, for use with base R graphics or ggplot2.

2 Diverging data

2.1 broc

broc <- colour("broc")
plot(broc(256))

2.2 cork

cork <- colour("cork")
plot(cork(256))

2.3 vik

vik <- colour("vik")
plot(vik(256))

2.4 lisbon

lisbon <- colour("lisbon")
plot(lisbon(256))

2.5 tofino

tofino <- colour("tofino")
plot(tofino(256))

2.6 berlin

berlin <- colour("berlin")
plot(berlin(256))

2.7 roma

roma <- colour("roma")
plot(roma(256))

2.8 bam

bam <- colour("bam")
plot(bam(256))

2.9 vanimo

vanimo <- colour("vanimo")
plot(vanimo(256))

3 Sequential data

3.1 batlow

batlow <- colour("batlow")
plot(batlow(256))

3.2 batlowW

batlowW <- colour("batlowW")
plot(batlowW(256))

3.3 batlowK

batlowK <- colour("batlowK")
plot(batlowK(256))

3.4 devon

devon <- colour("devon")
plot(devon(256))

3.5 lajolla

lajolla <- colour("lajolla")
plot(lajolla(256))

3.6 bamako

bamako <- colour("bamako")
plot(bamako(256))

3.7 davos

davos <- colour("davos")
plot(davos(256))

3.8 bilbao

bilbao <- colour("bilbao")
plot(bilbao(256))

3.9 nuuk

nuuk <- colour("nuuk")
plot(nuuk(256))

3.10 oslo

oslo <- colour("oslo")
plot(oslo(256))

3.11 grayC

grayC <- colour("grayC")
plot(grayC(256))

3.12 hawaii

hawaii <- colour("hawaii")
plot(hawaii(256))

3.13 lapaz

lapaz <- colour("lapaz")
plot(lapaz(256))

3.14 tokyo

tokyo <- colour("tokyo")
plot(tokyo(256))

3.15 buda

buda <- colour("buda")
plot(buda(256))

3.16 acton

acton <- colour("acton")
plot(acton(256))

3.17 turku

turku <- colour("turku")
plot(turku(256))

3.18 imola

imola <- colour("imola")
plot(imola(256))

4 Multi-sequential data

4.1 oleron

oleron <- colour("oleron")
plot(oleron(256))

4.2 bukavu

bukavu <- colour("bukavu")
plot(bukavu(256))

4.3 fes

fes <- colour("fes")
plot(fes(256))

References

Crameri, Fabio. 2018. “Geodynamic Diagnostics, Scientific Visualisation and StagLab 3.0.” Geoscientific Model Development 11 (6): 2541–62. https://doi.org/10.5194/gmd-11-2541-2018.
———. 2021. Scientific Colour Maps (version 7.0.0). Zenodo. https://doi.org/10.5281/zenodo.4491293.