swatch {colourlovers} | R Documentation |
Extract a list of colors from a COLOURlovers object
swatch(x, ...)
x |
A colourlovers color, palette, or pattern object. |
... |
Ignored. |
Extract color(s) from a colourlovers object.
A list of character vectors containing hexidecimal representations of colors.
Thomas J. Leeper
## 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)