Description Usage Arguments Value Examples
Color palettes from El Greco paintings.
1 | elgreco_palette(name, n, type = c("discrete", "continuous"))
|
name |
Name of desired palette. Choices are:
|
n |
Number of colors desired. All color schemes are derived from El Greco paintings. |
type |
Either "continuous" or "discrete". Use continuous if you want to automatically interpolate between colours. @importFrom graphics rgb rect par image text |
A vector of colours.
1 2 3 4 5 6 7 8 | elgreco_palette("Laocoon1")
elgreco_palette("Shepherds1")
elgreco_palette("Toledo1")
# If you need more colours than normally found in a palette, you
# can use a continuous palette to interpolate between existing
# colours
pal <- elgreco_palette(21, name = "Toledo1", type = "continuous")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.