colorspace (2.1-1)
Published 2026-02-24 13:47:07 +00:00 by atheaadmin
Installation
options("repos" = c(getOption("repos"), c(gitea=" ")))install.packages("colorspace")About this package
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>).A Toolbox for Manipulating and Assessing Colors and Palettes
Dependencies
| Imports | graphics, grDevices, stats |
| Depends | R (>= 3.0.0), methods |
| Suggests | datasets, utils, KernSmooth, MASS, kernlab, mvtnorm, vcd, tcltk, shiny, shinyjs, ggplot2, dplyr, scales, grid, png, jpeg, knitr, rmarkdown, RColorBrewer, rcartocolor, scico, viridis, wesanderson |
Details
2026-02-24 13:47:07 +00:00
Assets (1)
Versions (1)
View all
CRAN
0
BSD_3_clause + file LICENSE
Ross Ihaka
Paul Murrell
Kurt Hornik
Jason C. Fisher
Reto Stauffer
Claus O. Wilke
Claire D. McWhite
Achim Zeileis
2.0 MiB
colorspace_2.1-1.tar.gz
2.0 MiB
2.1-1
2026-02-24