lepidochroma {lepidochroma} | R Documentation |
Colour palettes inspired by butterflies
Description
Returns a colour palette from the lepidochroma
collection.
Usage
lepidochroma(name, n = NULL)
Arguments
name |
Palette name (see the |
n |
Number of colours to return. It is an optional argument:
if it is not specified, all available colours for the specified
palette will be returned. For continuous palettes (see the
output of |
Value
A character vector with colours as hexadecimal strings.
Examples
# Discrete palette
lepidochroma("attacus", 4)
# Continuous palette
lepidochroma("morpho", 30)
[Package lepidochroma version 0.1.0 Index]