paris2024_palette | R Documentation |
Paris 2024 palette generator
paris2024_palette(name, n, type = c("discrete", "continuous"), reverse = FALSE)
name |
Name of the colour palette. Options are |
n |
Number of colours in the palette. Palettes have 2 to 5 colours that can be used as a discrete palette. To use more, use a continuous palette. |
type |
Usage of palette as "continuous" or "discrete". Continuous usage interpolates between colors to create a scale of values. If omitted, function assumes continuous if n > length of palette, and discrete if n < length of palette. |
reverse |
Whether to reverse colour palette (TRUE) or not (FALSE, default). |
A vector of colours.
paris2024_palette("GamesLook", n = 6, type = "continuous")
paris2024_palette("Logo", 2)
paris2024_palette("OlympicRings")
paris2024_palette("OlympicRings", reverse = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.