Learn R Programming

⚠️There's a newer version (2.1-1) of this package.Take me there.

colorspace (version 1.3-2)

Color Space Manipulation

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 an interactive palette picker (with either a Tcl/Tk or a shiny GUI).

Copy Link

Version

Install

install.packages('colorspace')

Monthly Downloads

957,721

Version

1.3-2

License

BSD_3_clause + file LICENSE

Maintainer

Achim Zeileis

Last Published

December 14th, 2016

Functions in colorspace (1.3-2)

HLS

Create HLS Colors
desaturate

Desaturate Colors by Chroma Removal in HCL Space
HSV

Create HSV Colors
color-class

Class "color"
hex2RGB

Convert Hexadecimal Color Specifications To RGB Objects
choose_palette

Graphical User Interface for Choosing HCL Color Palettes
hex

Convert Colors To Hexadecimal Strings
mixcolor

Compute the convex combination of two colors
polarLAB

Create polarLAB Colors
RGB

Create RGB Colors
polarLUV

Create polarLUV Colors
specplot

Color Spectrum Plot
rainbow_hcl

HCL and HSV Color Palettes
sRGB

Create sRGB Colors
writehex

Write Hexadecimal Color Descriptions
USSouthPolygon

Polygon for County Map of US South States: Alabama, Georgia, and South Carolina
XYZ

Create XYZ Colors
readhex

Read Hexadecimal Color Descriptions
readRGB

Read RGB Color Descriptions
coords

Extract the numerical coordinates of a color
LAB

Create LAB Colors
LUV

Create LUV Colors