Description Usage Arguments Value Examples
View source: R/lalaland_palettes.R
Hexadecimal codes for a selection of color palettes inspired by the 2016 film "La La Land".
1 | lll_palette(name, n)
|
name |
Name of the desired color palette. Choices:
|
n |
Vector of colors desired. Colors can be selected, and
combinations viewed, using |
A vector of colors, in the form of hexadecimal codes.
1 2 3 4 5 6 7 8 9 | lll_palette("CityOfStars1")
lll_palette("Summer", c(1,3,5))
## In a ggplot2 context:
library(ggplot2)
ggplot(mtcars, aes(x = disp, y = qsec, color = as.factor(carb))) +
geom_point() +
scale_color_manual(values = lll_palette("Epilogue1")) +
theme_minimal()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.