Skip to content

colorspace

2.1-3

A Toolbox for Manipulating and Assessing Colors and Palettes

247packages depend
6Mdownloads / year
15.2%test coverage
13/13checks pass

Overview

About
Maintained by Achim ZeileisFirst published 2005-01-2028 releasesCRAN page ↗

Carries out mapping between assorted color spaces including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB, and polar CIELAB. Qualitative, sequential, and diverging color palettes based on HCL colors are provided along with corresponding ggplot2 color scales. Color palette choice is aided by an interactive app (with either a Tcl/Tk or a shiny graphical user interface) and shiny apps with an HCL color picker and a color vision deficiency emulator. Plotting functions for displaying and assessing palettes include color swatches, visualizations of the HCL space, and trajectories in HCL and/or RGB spectrum. Color manipulation functions include: desaturation, lightening/darkening, mixing, and simulation of color vision deficiencies (deutanomaly, protanomaly, tritanomaly). Details can be found on the project web page at https://colorspace.R-Forge.R-project.org/ and in the accompanying scientific paper: Zeileis et al. (2020, Journal of Statistical Software, doi:10.18637/jss.v096.i01).

Install

Health

CRAN checks
13OK
Slowest check: 3.9 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.26
15.2%
Coverage · measured lines
100%
Documentation · exports
4
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-07-15
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-30
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-27
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 8 earlier snapshots
  • WARNING2026-06-14
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-10
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-24
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-22
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
93%
Documented parameters
73%
Return-value docs
70%
References docs
33%

Downloads

6M
CRAN downloads in the past year
Rank #135 · ~16.3K/day · ~496.5K/mo
Daily download trend is not available in this view yet.
416.5K30 days
1.4M90 days
6M1 year
Compare downloads with other packages →
Also on44.1K r2u131 autocran1.5M conda_forge3.1K c2d4u

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.0.0methods
Imports (3)
graphicsgrDevicesstats
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Datasets

People & History

People (8)
Maintainer (1)
Author, Maintainer · added in 0.97
Authors (8)
Author, Maintainer · added in 0.97
Author · added in 0.97
Author · added in 0.97
Author · added in 1.3-0
Listed in earlier versions (3)
no longer listed · 1.2-0 to 2.1-3
no longer listed · 1.4-0 to 2.1-3
no longer listed · 1.4-0 to 2.1-3
Package Timeline

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

  • 2.1-3Latest
    2026-07-12 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.1-2
    2025-09-22 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1-1
    2024-07-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1-0
    2023-01-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0-3
    2022-02-21 · diff ↗
  • 2.0-2
    2021-06-24 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0-1
    2021-05-04 · diff ↗
  • 2.0-0
    2020-11-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
Show 42 earlier events
  • 1.4-1
    2019-03-18 · diff ↗
  • 1.4-0
    2019-01-13 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.3-2
    2016-12-14 · diff ↗
  • 1.3-1
    2016-11-18 · diff ↗
  • 1.3-0
    2016-11-10 · diff ↗
  • 1.2-7
    2016-10-11 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2-6
    2015-03-11 · diff ↗
  • 1.2-5
    2015-03-03 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.2-4
    2013-09-30 · diff ↗
  • 1.2-3
    2013-09-16 · diff ↗
  • 1.2-2
    2013-04-11 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.2-1
    2013-01-24 · diff ↗
  • 1.2-0
    2012-10-24 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.1-1
    2012-01-13 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1-0
    2011-05-16 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 1.0-1
    2009-04-24 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.0-0
    2008-11-21 · diff ↗
  • 0.97
    2008-10-25 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • 0.95
    2006-11-16 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • 0.9
    2005-01-20
  • R
    R 2.0.0 released · 2004-10-04

Package metadata

First published
2005-01-20
Total releases
28 / 21 yrs
License
BSD_3_clause + file LICENSE OSI
Minimum R
≥ 3.0.0
Bundled data
93 KB / 2 files
Download size
2.0 MB for 2.1-2
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("colorspace")
Zeileis, A., Fisher, J. C., Hornik, K., Ihaka, R., McWhite, C. D., Murrell, P., Stauffer, R., & Wilke, C. O. (2026). colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes (Version 2.1-3) [Computer software]. https://doi.org/10.32614/CRAN.package.colorspace

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 colorspace version 2.1-3 [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