colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

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 ORCID iD [aut], Kurt Hornik ORCID iD [aut], Jason C. Fisher ORCID iD [aut], Reto Stauffer ORCID iD [aut], Claus O. Wilke ORCID iD [aut], Claire D. McWhite ORCID iD [aut], Achim Zeileis ORCID iD [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

Documentation:

Reference manual: colorspace.pdf
Vignettes: colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes
HCL-Based Color Palettes in R

Downloads:

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

Reverse dependencies:

Reverse depends: bamlss, biclust, BiplotGUI, cabootcrs, grpCox, MineICA, mixAK, NonParRolCor, prefmod, R2BayesX, rcaiman, RolWinMulCor, smacof, VIM, W2CWM2C
Reverse imports: anacor, animalEKF, APCtools, autoimage, autonomics, bartMan, bayesianVARs, BayesX, bea.R, bigMap, BioRssay, BiplotGUI, categoryCompare, ccrs, cds, ChemoSpec2D, circlize, clevRvis, CliquePercolation, cmsaf, cmsafvis, colorblindcheck, colorBlindness, colorist, colorpatch, colorRamp2, colorsGen, cols4all, ComplexHeatmap, ComplexUpset, condvis2, copula, corr2D, CRABS, cranly, DepthProc, dittoSeq, EcotoneFinder, effects, EMC2, eRm, eseis, espadon, expectreg, forecast, frontiles, ftsa, geiger, GeneTonic, GeRnika, getspres, ggblanket, ggcharts, gggenomes, ggrasp, ggseqplot, ggwordcloud, Gifi, gmoviz, gpairs, gptstudio, GRaNIE, gwasforest, hbamr, heatmaply, HH, Hmisc, hues, HYPEtools, INFOSET, insurancerating, InterCellar, iNZightPlots, iNZightTS, IOHanalyzer, IsotopeR, JOPS, lavaangui, ldaPrototype, lessR, levi, MapGAM, mapStats, mcmcplots, MCMCvis, mergenstudio, metafolio, munsell, netboost, NetOrigin, NMF, OpenRepGrid, optimization, orthos, pals, PanViz, phyloregion, Polychrome, PRECAST, pRolocGUI, qgraph, rainbow, randomcoloR, RavenR, RcmdrMisc, rCNV, RegionalST, rms, roloc, rolocISCCNBS, semPlot, seriation, SGP, simplecolors, simplifyEnrichment, simPop, simsalapar, singleCellTK, smallsets, smoothAPC, SPARTAAS, SpatialCPie, stray, subspace, swatches, Thresher, TIMP, tntpr, trackeRapp, TraMineR, TraMineRextras, TreeDist, treemap, TreeTools, ucie, vcd, ViSiElse, visTree, vivid, Wats, WeightedTreemaps, wheatmap, whomds, xaringanthemer
Reverse suggests: AlphaMissenseR, aqp, atpolR, berryFunctions, BiodiversityR, BloodCancerMultiOmics2017, casebase, cba, collapsibleTree, colorrepel, cotram, csa, cubble, cxhull, dataquieR, DataVisualizations, dendextend, DEoptim, EBcoexpress, eks, emojifont, finalsize, flexsurv, flowViz, ggplotify, grImport, Guerry, hermiter, hetGP, HPiP, httk, IBMPopSim, IncDTW, IsoriX, lattice, LBSPR, LocalControl, mlt.docreg, movMF, mulgar, mvord, netmeta, nodiv, PairViz, palettes, party, r3js, rasterVis, rattle, Rcmdr, regsem, reservr, retrofit, RGraphics, rpanel, SCpubr, sSNAPPY, surveillance, SWMPr, tbm, tcpl, TH.data, tourr, tpSVG, tram, tramnet, tramvs, unhcrthemes, UpAndDownPlots, viridis, wacolors, WRS2
Reverse enhances: shades

Linking:

Please use the canonical form https://CRAN.R-project.org/package=colorspace to link to this page.