This package is mostly an R wrapper for the excellent chroma.js library by Gregor Aisch. It allows to parse colors specified in many forms (RGB, HSL, HSV, HCL, etc.), manipulate those colors (saturate, darken, etc.) and create color palettes in a color space adequate for human perception by default (HCL). In addition it provides access to a few pre-built color palettes which are also correct perceptually (cubehelix, ColorBrewer, viridis, etc.)
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.