Package: colorspace Version: 2.1-2 Date: 2025-09-22 Title: A Toolbox for Manipulating and Assessing Colors and Palettes Authors@R: c(person(given = "Ross", family = "Ihaka", role = "aut", email = "ihaka@stat.auckland.ac.nz"), person(given = "Paul", family = "Murrell", role = "aut", email = "paul@stat.auckland.ac.nz", comment = c(ORCID = "0000-0002-3224-8858")), person(given = "Kurt", family = "Hornik", role = "aut", email = "Kurt.Hornik@R-project.org", comment = c(ORCID = "0000-0003-4198-9911")), person(given = c("Jason", "C."), family = "Fisher", role = "aut", email = "jfisher@usgs.gov", comment = c(ORCID = "0000-0001-9032-8912")), person(given = "Reto", family = "Stauffer", role = "aut", email = "Reto.Stauffer@uibk.ac.at", comment = c(ORCID = "0000-0002-3798-5507")), person(given = c("Claus", "O."), family = "Wilke", role = "aut", email = "wilke@austin.utexas.edu", comment = c(ORCID = "0000-0002-7470-9261")), person(given = c("Claire", "D."), family = "McWhite", role = "aut", email = "claire.mcwhite@utmail.utexas.edu", comment = c(ORCID = "0000-0001-7346-3047")), person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "Achim.Zeileis@R-project.org", comment = c(ORCID = "0000-0003-0918-3766"))) Description: 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 and in the accompanying scientific paper: Zeileis et al. (2020, Journal of Statistical Software, ). 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 VignetteBuilder: knitr License: BSD_3_clause + file LICENSE URL: https://colorspace.R-Forge.R-project.org/, https://hclwizard.org/ BugReports: https://colorspace.R-Forge.R-project.org/contact.html LazyData: yes Encoding: UTF-8 RoxygenNote: 7.3.2 Repository: https://r-forge.r-universe.dev Date/Publication: 2026-04-13 11:21:02 UTC RemoteUrl: https://github.com/r-forge/colorspace RemoteRef: HEAD RemoteSha: 99d903d28bbf8cf8e8173b441b2fc4c122dc1469 RemoteSubdir: pkg/colorspace NeedsCompilation: yes Packaged: 2026-06-23 17:43:40 UTC; root Author: Ross Ihaka [aut], Paul Murrell [aut] (ORCID: ), Kurt Hornik [aut] (ORCID: ), Jason C. Fisher [aut] (ORCID: ), Reto Stauffer [aut] (ORCID: ), Claus O. Wilke [aut] (ORCID: ), Claire D. McWhite [aut] (ORCID: ), Achim Zeileis [aut, cre] (ORCID: ) Maintainer: Achim Zeileis