Skip to content

btupper/catecolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

Discrete 256-color table devised by Glasbey et al suitable for catagorical coloring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages