Description Usage Arguments Value Examples
View source: R/morandi_palette.R
Morandi Color Palette for R Plot Morandi colors refer to a muted and pale color palette, which is not bright as if covered with a layer of gray tone. Morandi colors has rich connotation without a tendency to show off, releasing the soothing elegance.
1  | 
name | 
 Palette name for plotting two variables:
  | 
n | 
 number of colors.  | 
type | 
 "Continuous" or "discrete".  | 
A vector of colors
1 2 3 4 5 6 7 8 9  | morandi("Two_Variables2")
morandi("Three_Variables2")
morandi("Cava")
morandi("Unicorn")
# If you need more colours than normally found in a palette, you
# can use a continuous palette to interpolate between existing
# colours
palette <- morandi(100, name = "Melancholy", type = "continuous")
image(volcano, col = palette)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.