khroma: Colour Schemes for Scientific Data Visualization

An implementation of Paul Tol's colour schemes for use with 'graphics' or 'ggplot2'. These schemes are ready for each type of data (qualitative, diverging or sequential), with colours that are distinct for all people, including colour-blind readers. This package provides tools to simulate colour-blindness and to test how well the colours of any palette are identifiable. Several scientific thematic schemes (geologic timescale, land cover, FAO soils, etc.) are also implemented.

Version: 1.3.0
Depends: R (≥ 3.2)
Imports: grDevices
Suggests: covr (≥ 3.2.1), crayon (≥ 1.3.4), fansi (≥ 0.4.0), ggplot2 (≥ 3.1.0), knitr, rmarkdown, scales (≥ 1.0.0), testthat (≥ 2.1.1), vdiffr (≥ 0.3.0)
Published: 2019-10-26
Author: Nicolas Frerebeau ORCID iD [aut, cre], Brice Lebrun ORCID iD [ctb]
Maintainer: Nicolas Frerebeau <nicolas.frerebeau at>
License: GPL-3
NeedsCompilation: no
Citation: khroma citation info
Materials: README
CRAN checks: khroma results


Reference manual: khroma.pdf
Vignettes: Paul Tol's Colour Schemes
Package source: khroma_1.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: khroma_1.2.0.tgz, r-oldrel: khroma_1.2.0.tgz
Old sources: khroma archive

Reverse dependencies:

Reverse suggests: tabula


Please use the canonical form to link to this page.