as.list-methods: Creates a list with single colors from a palette.

Description Usage Arguments Examples

Description

Applies to the colorspace::color class.

Usage

1
2
3
4
as.list(x, ...)

## S4 method for signature 'color'
as.list(x, ...)

Arguments

x

color object to be coerced to a list

...

ignored for this class

Examples

1
2
data("OptimGreenRedLAB")
as.list(OptimGreenRedLAB)

colorpatch documentation built on May 1, 2019, 10:28 p.m.