khroma: Colour Schemes for Scientific Data Visualization

Colour schemes 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 an implementation of Paul Tol (2018) and Fabio Crameri (2018) <doi:10.5194/gmd-11-2541-2018> colour schemes for use with 'graphics' or 'ggplot2'. It 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.7.0
Depends: R (≥ 3.3)
Imports: grDevices, grid, stats, utils
Suggests: covr, crayon, fansi, ggplot2, knitr, rmarkdown, scales, spacesXYZ, testthat (≥ 3.0.0), vdiffr (≥ 1.0.0)
Published: 2021-09-02
Author: Nicolas Frerebeau ORCID iD [aut, cre], Brice Lebrun ORCID iD [ctb], Vincent Arel-Bundock ORCID iD [ctb]
Maintainer: Nicolas Frerebeau <nicolas.frerebeau at>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: khroma citation info
Materials: README NEWS
CRAN checks: khroma results


Reference manual: khroma.pdf
Vignettes: Fabio Crameri's Colour Schemes
Paul Tol's Colour Schemes


Package source: khroma_1.7.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): khroma_1.7.0.tgz, r-release (x86_64): khroma_1.7.0.tgz, r-oldrel: khroma_1.7.0.tgz
Old sources: khroma archive

Reverse dependencies:

Reverse imports: RLumCarlo
Reverse suggests: dimensio, tabula


Please use the canonical form to link to this page.