colourList {roloc}R Documentation

Define a list of colour names

Description

Define a list of colour names, which includes both colour names and a set of sRGB specifications corresponding to the names.

Usage

colourList(names, colours)
colorList(names, colours)

Arguments

names

A character vector of colour names.

colours

An "sRGB" colour object (which provides the sRGB specifications corresponding to the colour names).

Value

A "colourList" object.

Author(s)

Paul Murrell

Examples

colourList("red", colorspace::RGB(1, 0, 0))

[Package roloc version 0.1-2 Index]