khroma: Colour Schemes for Scientific Data Visualization

Color schemes ready for each type of data (qualitative, diverging or sequential), with colors that are distinct for all people, including color-blind readers. This package provides an implementation of Paul Tol (2018) and Fabio Crameri (2018) <doi:10.5194/gmd-11-2541-2018> color schemes for use with 'graphics' or 'ggplot2'. It provides tools to simulate color-blindness and to test how well the colors of any palette are identifiable. Several scientific thematic schemes (geologic timescale, land cover, FAO soils, etc.) are also implemented.

Version: 1.13.0
Depends: R (≥ 3.5.0)
Imports: graphics, grDevices, grid, stats, utils
Suggests: ggplot2, ggraph, knitr, markdown, rsvg, scales, spacesXYZ, svglite, tinysnapshot, tinytest
Published: 2024-07-01
DOI: 10.32614/CRAN.package.khroma
Author: Nicolas Frerebeau ORCID iD [aut, cre] (Université Bordeaux Montaigne), Brice Lebrun ORCID iD [ctb] (Université Bordeaux Montaigne), Vincent Arel-Bundock ORCID iD [ctb] (Université de Montréal), Ulrik Stervbo ORCID iD [ctb] (Ruhr-Universität Bochum), Université Bordeaux Montaigne [fnd], CNRS [fnd]
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 Color Schemes
Paul Tol's Color Schemes


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

Reverse dependencies:

Reverse imports: RLumCarlo, RLumModel, tesselle
Reverse suggests: dimensio, tabula


Please use the canonical form to link to this page.