coords: Retrieve the coordinates of a colour vector

Description Usage Arguments Value Author(s) Examples

Description

This function retrieves the coordinates of a colour vector's elements, within whatever space it is currently defined.

Usage

1
coords(x, ...)

Arguments

x

An R object.

...

Additional arguments to methods.

Value

A matrix giving colour coordinates in the relevant space, one colour per row. Columns are typically named.

Author(s)

Jon Clayden <code@clayden.org>

Examples

1
coords("red")

shades documentation built on Aug. 2, 2019, 5:05 p.m.