space: Retrieve the space of a colour vector

spaceR Documentation

Retrieve the space of a colour vector

Description

This function retrieves the colour space in which its argument is currently defined.

Usage

space(x, ...)

Arguments

x

An R object.

...

Additional arguments to methods.

Value

A string naming a colour space.

Author(s)

Jon Clayden code@clayden.org

Examples

space("red")

shades documentation built on July 3, 2026, 1:07 a.m.