Learn R Programming

cns: Color Naming System

The Color Naming System was an early grammar of color.

In it, colors are created using adjectives and base hues (like "dark blue"), so you won’t ever have to wonder if "steelblue" is darker than "dodgerblue".

Installation

You can install the released version of cns from CRAN with:

install.packages("cns")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("nfultz/cns")

Example

library(cns)

barplot(1:3, col=cns('light red', 'red', 'dark purplish red'))

Copy Link

Version

Install

install.packages('cns')

Monthly Downloads

2

Version

0.1.0

License

GPL (>= 3)

Maintainer

Neal Fultz

Last Published

July 19th, 2021

Functions in cns (0.1.0)

cns

A Color Naming System