Skip to contents

Color scale for canva.com color palettes described in canva_palettes.

Usage

scale_colour_canva(..., palette = "Fresh and bright")

scale_color_canva(..., palette = "Fresh and bright")

scale_fill_canva(..., palette = "Fresh and bright")

Arguments

...

Arguments passed to ggplot2::discrete_scale().

palette

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

Value

A ggplot2 scale object.

See also

Other color canva: canva_pal()

Examples

library("ggplot2")

ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
  geom_point(size = 3) +
  scale_colour_canva()