Learn R Programming

ggthemes (version 3.2.0)

few_pal: Color Palletes from Few's "Practical Rules for Using Color in Charts"

Description

Qualitative color palettes from Stephen Few, "Practical Rules for Using Color in Charts".

Usage

few_pal(palette = "medium")

Arguments

palette
One of "medium", "dark", or "light"

Details

He suggests the following
  • For bars, use medium.
  • For lines and points use dark if small or thin, and medium otherwise.

See Also

Other colour few: scale_colour_few

Examples

Run this code
library("scales")
show_col(few_pal()(7))
show_col(few_pal("dark")(7))
show_col(few_pal("light")(7))

Run the code above in your browser using DataLab