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.17.0 | 
| Depends: | R (≥ 3.5.0) | 
| Imports: | graphics, grDevices, grid, stats, utils | 
| Suggests: | fontquiver, ggplot2, ggraph, knitr, markdown, rsvg, scales, spacesXYZ, svglite, tinysnapshot (≥ 0.2.0), tinytest | 
| Published: | 2025-09-29 | 
| DOI: | 10.32614/CRAN.package.khroma | 
| Author: | Nicolas Frerebeau | 
| Maintainer: | Nicolas Frerebeau <nicolas.frerebeau at u-bordeaux-montaigne.fr> | 
| BugReports: | https://codeberg.org/tesselle/khroma/issues | 
| License: | GPL (≥ 3) | 
| URL: | https://codeberg.org/tesselle/khroma, https://packages.tesselle.org/khroma/, https://tesselle.r-universe.dev/khroma | 
| NeedsCompilation: | no | 
| Citation: | khroma citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | khroma results | 
| Reference manual: | khroma.html , khroma.pdf | 
| Vignettes: | Fabio Crameri's Color Schemes (source, R code) Introduction to khroma (source, R code) Paul Tol's Color Schemes (source, R code) | 
| Package source: | khroma_1.17.0.tar.gz | 
| Windows binaries: | r-devel: khroma_1.17.0.zip, r-release: khroma_1.17.0.zip, r-oldrel: khroma_1.17.0.zip | 
| macOS binaries: | r-release (arm64): khroma_1.17.0.tgz, r-oldrel (arm64): khroma_1.17.0.tgz, r-release (x86_64): khroma_1.17.0.tgz, r-oldrel (x86_64): khroma_1.17.0.tgz | 
| Old sources: | khroma archive | 
| Reverse imports: | dimensio, kinesis, nexus, RLumCarlo, RLumModel, spatialGE, tabula, tesselle | 
| Reverse suggests: | midr | 
Please use the canonical form https://CRAN.R-project.org/package=khroma to link to this page.