jiho/chroma: Parse and Manipulate Colors, Create Perceptually Correct Color Palettes

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 adequate for human perception (i.e. in the HCL color model). In addition it provides access to a few pre-built color palettes that have been tested perceptually (cubehelix, ColorBrewer, viridis, etc.) and/or are useful (ETOPO1 maps, Wikipedia topographic maps, light wavelentgh, etc.).

Getting started

Package details

Maintainer
LicenseGPL-3
Version0.2
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("jiho/chroma")
jiho/chroma documentation built on Nov. 26, 2022, 2:39 a.m.