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>).
Version: | 2.1-1 |
Depends: | R (≥ 3.0.0), methods |
Imports: | graphics, grDevices, stats |
Suggests: | datasets, utils, KernSmooth, MASS, kernlab, mvtnorm, vcd, tcltk, shiny, shinyjs, ggplot2, dplyr, scales, grid, png, jpeg, knitr, rmarkdown, RColorBrewer, rcartocolor, scico, viridis, wesanderson |
Published: | 2024-07-26 |
DOI: | 10.32614/CRAN.package.colorspace |
Author: | Ross Ihaka [aut], Paul Murrell [aut], Kurt Hornik [aut], Jason C. Fisher [aut], Reto Stauffer [aut], Claus O. Wilke [aut], Claire D. McWhite [aut], Achim Zeileis [aut, cre] |
Maintainer: | Achim Zeileis <Achim.Zeileis at R-project.org> |
BugReports: | https://colorspace.R-Forge.R-project.org/contact.html |
License: | BSD_3_clause + file LICENSE |
URL: | https://colorspace.R-Forge.R-project.org/, https://hclwizard.org/ |
NeedsCompilation: | yes |
Citation: | colorspace citation info |
Materials: | NEWS |
CRAN checks: | colorspace results |
Reference manual: | colorspace.pdf |
Vignettes: |
colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes HCL-Based Color Palettes in R |
Package source: | colorspace_2.1-1.tar.gz |
Windows binaries: | r-devel: colorspace_2.1-1.zip, r-release: colorspace_2.1-1.zip, r-oldrel: colorspace_2.1-1.zip |
macOS binaries: | r-release (arm64): colorspace_2.1-1.tgz, r-oldrel (arm64): colorspace_2.1-1.tgz, r-release (x86_64): colorspace_2.1-1.tgz, r-oldrel (x86_64): colorspace_2.1-1.tgz |
Old sources: | colorspace archive |
Please use the canonical form https://CRAN.R-project.org/package=colorspace to link to this page.