as.list {colorpatch}R Documentation

Creates a list with single colors from a palette.

Description

Applies to the colorspace::color class.

Usage

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

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

[Package colorpatch version 0.1.2 Index]