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")

jonclayden/shades documentation built on Oct. 17, 2024, 4:52 p.m.