Colorspace: A Toolbox For Manipulating And Assessing ...

rdrr.io Find an R package R language docs Run R in your browser

colorspace A Toolbox for Manipulating and Assessing Colors and Palettes

Package index Search the colorspace package Vignettes
  • HCL-Based Color Palettes in R
  • colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes
Functions 233 Source code 42 Man pages 49
  • adjust_transparency: Adjust or Extract Transparency of Colors
  • choose_palette: Graphical User Interface for Choosing HCL Color Palettes
  • color-class: Class "color"
  • contrast_ratio: W3C Contrast Ratio
  • coords: Extract the Numerical Coordinates of a Color
  • cvd: Color Vision Deficiency (CVD) Conversion Tables
  • cvd_emulator: Graphical User Interface to Check Images for Color...
  • cvd_image: Convert Colors of an Image
  • demoplot: Color Palette Demonstration Plot
  • desaturate: Desaturate Colors by Chroma Removal in HCL Space
  • divergingx_hcl: (More) Flexible Diverging HCL Palettes
  • hcl_color_picker: Graphical User Interface to Pick Colors in HCL Space
  • hcl_palettes: HCL Color Palettes
  • hclplot: Palette Plot in HCL Space
  • hex: Convert Colors to Hexadecimal Strings
  • hex2RGB: Convert Hexadecimal Color Specifications to sRGB Objects
  • HLS: Create HLS Colors
  • HSV: Create HSV Colors
  • LAB: Create LAB Colors
  • lighten: Algorithmically Lighten or Darken Colors
  • LUV: Create LUV Colors
  • max_chroma: Compute Maximum Chroma for Given Hue and Luminance in HCL
  • mixcolor: Compute the Convex Combination of Two Colors
  • polarLAB: Create polarLAB Colors
  • polarLUV: Create polarLUV (HCL) Colors
  • rainbow_hcl: HCL (and HSV) Color Palettes Corresponding to Base R Palettes
  • readhex: Read Hexadecimal Color Descriptions
  • readRGB: Read RGB Color Descriptions
  • RGB: Create RGB Colors
  • scale_colour_binned_diverging: HCL-Based Binned Diverging Color Scales for ggplot2
  • scale_colour_binned_divergingx: HCL-Based Binned Flexible Diverging Scales for ggplot2
  • scale_colour_binned_qualitative: HCL-Based Binned Qualitative Color Scales for ggplot2
  • scale_colour_binned_sequential: HCL-Based Binned Sequential Color Scales for ggplot2
  • scale_colour_continuous_diverging: HCL-Based Continuous Diverging Color Scales for ggplot2
  • scale_colour_continuous_divergingx: HCL-Based Continuous Flexible Diverging Scales for ggplot2
  • scale_colour_continuous_qualitative: HCL-Based Continuous Qualitative Color Scales for ggplot2
  • scale_colour_continuous_sequential: HCL-Based Continuous Sequential Color Scales for ggplot2
  • scale_colour_discrete_diverging: HCL-Based Discrete Diverging Color Scales for ggplot2
  • scale_colour_discrete_divergingx: HCL-Based Discrete Flexible Diverging Scales for ggplot2
  • scale_colour_discrete_qualitative: HCL-Based Discrete Qualitative Color Scales for ggplot2
  • scale_colour_discrete_sequential: HCL-Based Discrete Sequential Color Scales for ggplot2
  • simulate_cvd: Simulate Color Vision Deficiency
  • specplot: Color Spectrum Plot
  • sRGB: Create sRGB Colors
  • swatchplot: Palette Swatch Plot
  • USSouthPolygon: Polygon for County Map of US South States: Alabama, Georgia,...
  • whitepoint: Access or Modify the Whitepoint
  • writehex: Write Hexadecimal Color Descriptions
  • XYZ: Create XYZ Colors
  • Browse all...
Home / CRAN / colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes 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>).

Getting started

HCL-Based Color Palettes in R colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

Browse package contents

Vignettes Man pages API and functions Files

Package details

AuthorRoss Ihaka [aut], Paul Murrell [aut] (<https://orcid.org/0000-0002-3224-8858>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>), Jason C. Fisher [aut] (<https://orcid.org/0000-0001-9032-8912>), Reto Stauffer [aut] (<https://orcid.org/0000-0002-3798-5507>), Claus O. Wilke [aut] (<https://orcid.org/0000-0002-7470-9261>), Claire D. McWhite [aut] (<https://orcid.org/0000-0001-7346-3047>), Achim Zeileis [aut, cre] (<https://orcid.org/0000-0003-0918-3766>)
MaintainerAchim Zeileis <[email protected]>
LicenseBSD_3_clause + file LICENSE
Version2.1-1
URL https://colorspace.R-Forge.R-project.org/  https://hclwizard.org/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R: install.packages("colorspace")

Try the colorspace package in your browser

library(colorspace) help(colorspace) Run

Any scripts or data that you put into this service are public.

Nothing colorspace documentation built on Sept. 11, 2024, 7:05 p.m.

R Package Documentation

rdrr.io home R language documentation Run R code online

Browse R Packages

CRAN packages Bioconductor packages R-Forge packages GitHub packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that. Tweet to @rdrrHQ GitHub issue tracker [email protected] Personal blog What can we improve? The page or its content looks wrong I can't find what I'm looking for I have a suggestion Other Extra info (optional) Submit Improve this page Embedding an R snippet on your website

Add the following code to your website.

REMOVE THIS Copy to clipboard

For more information on customizing the embed code, read Embedding Snippets.

Close

Tag » Colorspace Package R Cran