Skip to content

khroma

1.17.0Package record

Colour Schemes for Scientific Data Visualization

10packages dependsuggested by 3
20Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.17.0

Enhancements

  • Upgrade to Scientific Colours Maps v8.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.17.0
READMEYes · 436 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 1.17.0Citation fileYes · computed when R runs itWebsiteYes
Help pages
82 (6 internal)includes a package overview page
Examples that run
100%76 run in a plain check (3 of them under a condition)
Exported functions with examples
99%
Documented parameters
98%
Return-value docs
99%
Help pages citing references
80%

Downloads

20K
CRAN downloads in the past year
Rank #2,960 · ~55/day · ~1.7K/mo
Daily download trend is not available in this view yet.
1.9K30 days
4.6K90 days
20K1 year
Compare downloads with other packages →
Also on745 r2u5 autocran

Repository

4Stars
1Forks
2Open issues
0Open PRs
22Releases
418Commits
8Commit identities
accessibilitycolour-schemesdata-visualizationr-package
418 commits · Last activity 2026-07-15
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only
PracticesBeta

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 v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing khroma adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (5)
graphicsgrDevicesgridstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
10direct
2indirect
Imports 10
Suggested by 3
Show all 13 packagesHide all 13 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (6)
Author, Maintainer since 1.0.0 (2018)
Contributor · added in 1.4.0
Contributor · added in 1.10.0
Funder · added in 1.12.0
Funder · added in 1.12.0
art · added in 1.1.0
Logo designer
Releases (22)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.17.0Latest
    record
    2025-09-29 · current release · diff ↗ ·
    added 30 exports
    scale_color_glasgow, scale_color_lipari, scale_color_managua, scale_color_navia, scale_color_naviaW, scale_colour_glasgow, scale_colour_lipari, scale_colour_managua, scale_colour_navia, scale_colour_naviaW, scale_edge_color_glasgow, scale_edge_color_lipari, scale_edge_color_managua, scale_edge_color_navia, scale_edge_color_naviaW, scale_edge_colour_glasgow, scale_edge_colour_lipari, scale_edge_colour_managua, scale_edge_colour_navia, scale_edge_colour_naviaW, scale_edge_fill_glasgow, scale_edge_fill_lipari, scale_edge_fill_managua, scale_edge_fill_navia, scale_edge_fill_naviaW, scale_fill_glasgow, scale_fill_lipari, scale_fill_managua, scale_fill_navia, scale_fill_naviaW
  • R
    R 4.5.0 released · 2025-04-11
  • 1.16.0
    record
    2025-02-25 · diff ↗ ·
    removed 5 exports
    convert, ramp, scale_color_logical, scale_colour_logical, scale_fill_logical
  • 1.15.0
    record
    2025-01-10 · diff ↗ ·
    added 2 exports
    palette_size_diverging, palette_size_sequential
  • 1.14.0
    record
    2024-08-26 · diff ↗
  • 1.13.0
    record
    2024-07-01 · diff ↗ ·
    added 10 exports
    change, palette_color_continuous, palette_color_discrete, palette_color_picker, palette_colour_continuous, palette_colour_discrete, palette_colour_picker, palette_line, palette_shape, palette_size_range
  • R
    R 4.4.0 released · 2024-04-24
  • 1.12.0
    record
    2024-01-08 · diff ↗ ·
    added 12 exports
    scale_color_incandescent, scale_color_nightfall, scale_colour_incandescent, scale_colour_nightfall, scale_edge_color_incandescent, scale_edge_color_nightfall, scale_edge_colour_incandescent, scale_edge_colour_nightfall, scale_edge_fill_incandescent, scale_edge_fill_nightfall, scale_fill_incandescent, scale_fill_nightfall
  • 1.11.0
    record
    2023-08-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.10.0
    record
    2023-04-17 · diff ↗
  • 1.9.0
    record
    2022-06-18 · diff ↗ ·
    added 4 exports
    ramp, scale_color_logical, scale_colour_logical, scale_fill_logical
  • R
    R 4.2.0 released · 2022-04-22
  • 1.8.0
    record
    2022-01-20 · diff ↗ ·
    removed 3 exports
    scale_color_contrast, scale_colour_contrast, scale_fill_contrast
    added 145 exports
    plot_tiles, scale_color_picker, scale_colour_picker, scale_edge_color_BuRd, scale_edge_color_PRGn, scale_edge_color_YlOrBr, scale_edge_color_acton, scale_edge_color_bam, scale_edge_color_bamako, scale_edge_color_batlow, scale_edge_color_batlowK, scale_edge_color_batlowW, scale_edge_color_berlin, scale_edge_color_bilbao, scale_edge_color_bright, scale_edge_color_broc, scale_edge_color_buda, scale_edge_color_cork, scale_edge_color_dark, scale_edge_color_davos, scale_edge_color_devon, scale_edge_color_discreterainbow, scale_edge_color_grayC, scale_edge_color_hawaii, scale_edge_color_highcontrast, scale_edge_color_imola, scale_edge_color_iridescent, scale_edge_color_lajolla, scale_edge_color_land, scale_edge_color_lapaz and 115 more
  • 1.7.0
    record
    2021-09-02 · diff ↗ ·
    added 6 exports
    scale_color_highcontrast, scale_color_mediumcontrast, scale_colour_highcontrast, scale_colour_mediumcontrast, scale_fill_highcontrast, scale_fill_mediumcontrast
Show 15 earlier eventsHide 15 earlier events
  • 1.6.0
    record
    2021-06-14 · diff ↗ ·
    added 1 export
    info
  • R
    R 4.1.0 released · 2021-05-18
  • 1.5.0
    record
    2021-04-23 · diff ↗ ·
    added 105 exports
    scale_color_acton, scale_color_bam, scale_color_bamO, scale_color_bamako, scale_color_batlow, scale_color_batlowK, scale_color_batlowW, scale_color_berlin, scale_color_bilbao, scale_color_broc, scale_color_brocO, scale_color_buda, scale_color_bukavu, scale_color_cork, scale_color_corkO, scale_color_davos, scale_color_devon, scale_color_fes, scale_color_grayC, scale_color_hawaii, scale_color_imola, scale_color_lajolla, scale_color_lapaz, scale_color_lisbon, scale_color_nuuk, scale_color_oleron, scale_color_oslo, scale_color_roma, scale_color_romaO, scale_color_tofino and 75 more
  • 1.4.1
    record
    2021-03-17 · diff ↗
  • 1.4.0
    record
    2020-10-05 · diff ↗ ·
    added 6 exports
    compare, plot_scheme_colorblind, plot_scheme_colourblind, scale_color_okabeito, scale_colour_okabeito, scale_fill_okabeito
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.0
    record
    2019-10-26 · diff ↗ ·
    removed 3 exports
    scale_color_rainbow, scale_colour_rainbow, scale_fill_rainbow
  • 1.2.0
    record
    2019-08-19 · diff ↗ ·
    added 3 exports
    convert, plot_map, plot_scheme
  • 1.1.3
    record
    2019-06-05 · diff ↗ ·
    added 9 exports
    scale_color_dark, scale_color_discreterainbow, scale_color_pale, scale_colour_dark, scale_colour_discreterainbow, scale_colour_pale, scale_fill_dark, scale_fill_discreterainbow, scale_fill_pale
  • 1.1.2
    record
    2019-06-02 · diff ↗ ·
    removed 3 exports
    scale_color_tol, scale_colour_tol, scale_fill_tol
    added 9 exports
    scale_color_contrast, scale_color_iridescent, scale_color_land, scale_colour_contrast, scale_colour_iridescent, scale_colour_land, scale_fill_contrast, scale_fill_iridescent, scale_fill_land
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    record
    2019-04-10 · diff ↗
  • 1.1.0
    record
    2019-02-24 · diff ↗ ·
    added 33 exports
    scale_color_BuRd, scale_color_PRGn, scale_color_YlOrBr, scale_color_bright, scale_color_light, scale_color_muted, scale_color_rainbow, scale_color_smoothrainbow, scale_color_soil, scale_color_sunset, scale_color_vibrant, scale_colour_BuRd, scale_colour_PRGn, scale_colour_YlOrBr, scale_colour_bright, scale_colour_light, scale_colour_muted, scale_colour_rainbow, scale_colour_smoothrainbow, scale_colour_soil, scale_colour_sunset, scale_colour_vibrant, scale_fill_BuRd, scale_fill_PRGn, scale_fill_YlOrBr, scale_fill_bright, scale_fill_light, scale_fill_muted, scale_fill_rainbow, scale_fill_smoothrainbow and 3 more
  • 1.0.0
    record
    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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("khroma")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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