colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

03/14/2019
by   Achim Zeileis, et al.
0

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.

READ FULL TEXT
research
03/08/2023

Coloring in R's Blind Spot

Prior to version 4.0.0 R had a poor default color palette (using highly ...
research
03/08/2018

Autoplotly - Automatic Generation of Interactive Visualizations for Popular Statistical Results

The autoplotly package provides functionalities to automatically generat...
research
09/10/2017

The wave method of building color palette and its application in computer graphics

This article describes a method of getting a harmonious combination of c...
research
04/05/2020

Nonparametric Data Analysis on the Space of Perceived Colors

Moving around in a 3D world, requires the visual system of a living indi...
research
09/07/2020

Palettailor: Discriminable Colorization for Categorical Data

We present an integrated approach for creating and assigning color palet...
research
08/01/2019

Estimating Color-Concept Associations from Image Statistics

To interpret the meanings of colors in visualizations of categorical inf...
research
08/01/2019

Color Crafting: Automating the Construction of Designer Quality Color Ramps

Visualizations often encode numeric data using sequential and diverging ...

Please sign up or login with your details

Forgot password? Click here to reset