Other packages > Find by keyword >

khroma  

Colour Schemes for Scientific Data Visualization
View on CRAN: Click here


Download and install khroma package within the R console
Install from CRAN:
install.packages("khroma")

Install from Github:
library("remotes")
install_github("cran/khroma")

Install by package version:
library("remotes")
install_version("khroma", "1.17.0")



Attach the package and use:
library("khroma")
Maintained by
Nicolas Frerebeau
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-10-19
Latest Update: 2025-02-25
Description:
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) 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.
How to cite:
Nicolas Frerebeau (2018). khroma: Colour Schemes for Scientific Data Visualization. R package version 1.17.0, https://cran.r-project.org/web/packages/khroma. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0.0 (2018-10-19 17:20), 1.1.0 (2019-02-24 17:00), 1.1.1 (2019-04-10 17:42), 1.1.2 (2019-06-02 06:50), 1.1.3 (2019-06-05 16:10), 1.2.0 (2019-08-19 18:30), 1.3.0 (2019-10-26 18:00), 1.4.0 (2020-10-05 19:40), 1.4.1 (2021-03-17 09:00), 1.5.0 (2021-04-23 06:30), 1.6.0 (2021-06-14 18:10), 1.7.0 (2021-09-02 16:50), 1.8.0 (2022-01-20 21:02), 1.9.0 (2022-06-18 15:50), 1.10.0 (2023-04-17 18:00), 1.11.0 (2023-08-21 15:20), 1.12.0 (2024-01-08 13:20), 1.13.0 (2024-07-01 12:21), 1.14.0 (2024-08-26 18:20), 1.15.0 (2025-01-10 17:10), 1.16.0 (2025-02-25 18:40)
Other packages that cited khroma R package
View khroma citation profile
Other R packages that khroma depends, imports, suggests or enhances
Complete documentation for khroma
Functions, R codes and Examples using the khroma R package
Some associated functions: colour . compare . convert . info . khroma-package . plot.color_scheme . plot_map . plot_scheme . plot_scheme_colourblind . plot_tiles . ramp . scale_crameri_acton . scale_crameri_bam . scale_crameri_bamO . scale_crameri_bamako . scale_crameri_batlow . scale_crameri_batlowK . scale_crameri_batlowW . scale_crameri_berlin . scale_crameri_bilbao . scale_crameri_broc . scale_crameri_brocO . scale_crameri_buda . scale_crameri_bukavu . scale_crameri_cork . scale_crameri_corkO . scale_crameri_cyclic . scale_crameri_davos . scale_crameri_devon . scale_crameri_diverging . scale_crameri_fes . scale_crameri_grayC . scale_crameri_hawaii . scale_crameri_imola . scale_crameri_lajolla . scale_crameri_lapaz . scale_crameri_lisbon . scale_crameri_mutlisequential . scale_crameri_nuuk . scale_crameri_oleron . scale_crameri_oslo . scale_crameri_roma . scale_crameri_romaO . scale_crameri_sequential . scale_crameri_tofino . scale_crameri_tokyo . scale_crameri_turku . scale_crameri_vanimo . scale_crameri_vik . scale_crameri_vikO . scale_land . scale_logical_discrete . scale_okabeito_discrete . scale_picker . scale_soil . scale_stratigraphy . scale_tol_BuRd . scale_tol_PRGn . scale_tol_YlOrBr . scale_tol_bright . scale_tol_dark . scale_tol_discrete . scale_tol_discreterainbow . scale_tol_diverging . scale_tol_highcontrast . scale_tol_incandescent . scale_tol_iridescent . scale_tol_light . scale_tol_mediumcontrast . scale_tol_muted . scale_tol_nightfall . scale_tol_pale . scale_tol_sequential . scale_tol_smoothrainbow . scale_tol_sunset . scale_tol_vibrant . 
Some associated R codes: anomalize.R . color.R . compare.R . convert.R . ggplot2.R . info.R . khroma-internal.R . khroma-package.R . plot.R . plot_map.R . plot_scheme.R . plot_scheme_colorblind.R . plot_tiles.R . print.R . ramp.R . scale_colour_crameri.R . scale_colour_okabeito.R . scale_colour_other.R . scale_colour_science.R . scale_colour_tol.R .  Full khroma package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA