Skip to content

khroma

1.17.0

Colour Schemes for Scientific Data Visualization

13packages depend
26.2Kdownloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Nicolas FrerebeauFirst published 2018-10-1922 releasesCRAN page ↗Codeberg ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.00
0.0%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 436 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
99%
References docs
80%

Downloads

26.2K
CRAN downloads in the past year
Rank #3,023 · ~72/day · ~2.2K/mo
Daily download trend is not available in this view yet.
1.4K30 days
4.4K90 days
26.2K1 year
Compare downloads with other packages →
Also on791 r2u15 autocran

Repository

Repository practices

Upstream repositoryBeta

Repository codeberg.org/tesselle/khroma is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (5)
graphicsgrDevicesgridstatsutils
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor · added in 1.4.0
Contributor · added in 1.10.0
Funders (2)
Funder · added in 1.12.0
Funder · added in 1.12.0
Other (1)
art · added in 1.1.0
Package Timeline

22 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.17.0Latest
    2025-09-29 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.16.0
    2025-02-25 · diff ↗
  • 1.15.0
    2025-01-10 · diff ↗
  • 1.14.0
    2024-08-26 · diff ↗
  • 1.13.0
    2024-07-01 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.12.0
    2024-01-08 · diff ↗
  • 1.11.0
    2023-08-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.10.0
    2023-04-17 · diff ↗
  • 1.9.0
    2022-06-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.8.0
    2022-01-20 · diff ↗
  • 1.7.0
    2021-09-02 · diff ↗
Show 15 earlier events
  • 1.6.0
    2021-06-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.5.0
    2021-04-23 · diff ↗
  • 1.4.1
    2021-03-17 · diff ↗
  • 1.4.0
    2020-10-05 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.0
    2019-10-26 · diff ↗
  • 1.2.0
    2019-08-19 · diff ↗
  • 1.1.3
    2019-06-05 · diff ↗
  • 1.1.2
    2019-06-02 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    2019-04-10 · diff ↗
  • 1.1.0
    2019-02-24 · diff ↗
  • 1.0.0
    2018-10-19
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-10-19
Total releases
22 / 8 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Download size
2.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("khroma")
Frerebeau, N., CNRS, Université Bordeaux Montaigne, Arel-Bundock, V., Lebrun, B., & Stervbo, U. (2025). khroma: Colour Schemes for Scientific Data Visualization (Version 1.17.0) [Computer software]. https://doi.org/10.32614/CRAN.package.khroma

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for khroma version 1.17.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy