Skip to content

Latest commit

 

History

History
71 lines (37 loc) · 2.29 KB

README.md

File metadata and controls

71 lines (37 loc) · 2.29 KB

catecolors

Color tables gleaned from various sources that are suitable for displaying categorical (qualitative) colors.

Color tables included

  • Glasbey: (GLASBEYLUT) Discrete 256-color table devised by Glasbey et al suitable for categorical coloring.

  • Watlington: (WADLUT) JA Watlington (Wad's) Optimum 16 color palette

  • Kelly: (KELLYLUT) KL Kelly's Twenty-two colors of maximum contrast

  • Boynton: (BOYNTONLUT) RM Boynton's Eleven colors that are almost never confused

References:

Glasbey (GLASBEYLUT)

image

Watlington (WADLUT)

image

Kelly (KELLYLUT)

image

Boynton (BOYNTONLUT)

image

Installation

It's fairly easy to install using Hadley Wickham's devtools.

library(devtools)
install_github('btupper/catecolors')

Usage

library(catecolors)
plot(1:10, pch = 19, col = glasbey(11:20), cex = 3)
show_glasbey()