Quotation Zeileis, Achim, Fisher, Jason C., Hornik, Kurt, Ihaka, Ross, McWhite, Claire D., Murrell, Paul, Stauffer, Reto, Wilke, Claus O. 2020. colorspace: A toolbox for manipulating and assessing colors and palettes. Journal of Statistical Software. 96 (1), 1-49.


RIS


BibTeX

Abstract

The R package colorspace provides a flexible toolbox for selecting individual colors or color palettes, manipulating these colors, and employing them in statistical graphics and data visualizations. In particular, the package provides a broad range of color palettes based on the HCL (hue-chroma-luminance) color space. The three HCL dimensions have been shown to match those of the human visual system very well, thus facilitating intuitive selection of color palettes through trajectories in this space. Using the HCL color model, general strategies for three types of palettes are implemented: (1) Qualitative for coding categorical information, i.e., where no particular ordering of categories is available. (2) Sequential for coding ordered/numeric information, i.e., going from high to low (or vice versa). (3) Diverging for coding ordered/numeric information around a central neutral value, i.e., where colors diverge from neutral to two extremes. To aid selection and application of these palettes, the package also contains scales for use with ggplot2, shiny and tcltk apps for interactive exploration, visualizations of palette properties, accompanying manipulation utilities (like desaturation and lighten/darken), and emulation of color vision deficiencies. The shiny apps are also hosted online at http://hclwizard.org/

Tags

Press 'enter' for creating the tag

Publication's profile

Status of publication Published
Affiliation WU
Type of publication Journal article
Journal Journal of Statistical Software
Citation Index SCI
WU-Journal-Rating new FIN-A
Language English
Title colorspace: A toolbox for manipulating and assessing colors and palettes.
Volume 96
Number 1
Year 2020
Page from 1
Page to 49
URL https://www.jstatsoft.org/article/view/v096i01
DOI https://doi.org/10.18637/jss.v096.i01
Open Access N

Associations

People
Hornik, Kurt (Details)
External
Fisher, Jason C. (U.S. Geological Survey, United States/USA)
Ihaka, Ross (University of Auckland, New Zealand)
McWhite, Claire D. (Universtiy of Texas at Austin, United States/USA)
Murrell, Paul (University of Auckland, New Zealand)
Stauffer, Reto (University of Innsbruck, Austria)
Wilke, Claus O. (Universtiy of Texas at Austin, United States/USA)
Zeileis, Achim (University of Innsbruck, Austria)
Organization
Institute for Statistics and Mathematics IN (Details)
Research Institute for Computational Methods FI (Details)
Research areas (Ă–STAT Classification 'Statistik Austria')
1104 Applied mathematics (Details)
1105 Computer software (Details)
1121 Operations research (Details)
1162 Statistics (Details)
1165 Stochastics (Details)
5361 Financial management (Details)
Google Scholar: Search