swatch | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.