Learn R Programming

ggthemes (version 3.5.0)

canva_pal: Canva.com color palettes

Description

150+ color palettes from canva.com. See canva_palettes.

Usage

canva_pal(palette = "Fresh and bright")

Arguments

palette

Palette name. See the names of canva_palettes for valid names.

Value

A function that takes a single value, the number of colors to use.

Examples

Run this code
# NOT RUN {
require("scales")
show_col(canva_pal("Fresh and bright")(4))
show_col(canva_pal("Cool blues")(4))
show_col(canva_pal("Modern and crisp")(4))
# }

Run the code above in your browser using DataLab