R: 150 Color Palettes from Canva

canva_palettes {ggthemes} | R Documentation

## 150 Color Palettes from Canva

### Description

150 four-color palettes by the canva.com design school. These palettes were derived from photos and "impactful websites". They were then adapted to Tableau and Excel palettes by the sources below.

### Usage

    canva_palettes

### Format

A named `list` of character vector. The names are the palette names. The values of the character vectors are hex colors, e.g. `"#f98866"`.

### Source

http://makeadifferencewithdata.com/wp-content/uploads/2016/12/color-palettes.txt

### References

- Janie Kliever, 100 Brilliant Color Combinations and How to Apply Them to Your Designs, Canva.com, June 20, 2015.

- Mary Stribley, Website Color Schemes: The Palettes of 50 Visually Impactful Websites to Inspire You, Canva.com, January 26, 2016.

- Pablo Saenz de Tejeda, 150 paletas de colores para Tableau, January 1, 2017.

- Schwabish, Jonathan. 150+ Color Palettes for Excel, PolicyViz, January 12, 2017.

### Examples

    ## Not run:
    require("tidyverse")
    canva_df <- map_df(canva_palette, names(canva_palette),
                       ~ tible(color = .x, .id = seq_along(color), palette = .y))
    ggplot(canva_df, aes(y = palette, x = .id, fill = color)) +
           geom_raster() +
           scale_fill_identity(guide = FALSE) +
           theme_minimal() +
           theme(panel.grid= element_blank(),
                 axis.text.x = element_blank()) +
           labs(x = "", y = "")

    ## End(Not run)

[Package ggthemes version 3.4.0 Index]