swatch {colourlovers}R Documentation

Extract colors from an object

Description

Extract a list of colors from a COLOURlovers object

Usage

swatch(x, ...)

Arguments

x

A colourlovers color, palette, or pattern object.

...

Ignored.

Details

Extract color(s) from a colourlovers object.

Value

A list of character vectors containing hexidecimal representations of colors.

Author(s)

Thomas J. Leeper

Examples

## Not run: 
# Get top colors
swatch(clcolors('top'))

# Get colors from a specific palette
swatch(clpalette('113451'))

# Get colors from specific pattern
swatch(clpattern('1451'))

## End(Not run)

[Package colourlovers version 0.3.6 Index]