Using the jcolors Package

Jared Huling

2019-05-21

jcolors intro

Build Status

jcolors contains a selection of ggplot2 color palettes that I like (or can at least tolerate to some degree)

Installation

Install jcolors from GitHub:

Access the jcolors color palettes with jcolors():

##        kelly_green rich_electric_blue        maximum_red 
##          "#29BF12"          "#00A5CF"          "#DE1A1A" 
##     majorelle_blue fluorescent_orange 
##          "#574AE2"          "#FFBF00"

Display all available palettes

Discrete palettes

Continuous palettes

Discrete Color Palettes

Use with ggplot2

Now use scale_color_jcolors() with ggplot2:

Color palettes can be displayed using display_jcolors()

default

More example plots

Continuous Color Palettes

Display all continuous palettes

Use with ggplot2