Skip to content
Discrete 256-color table devised by Glasbey et al suitable for catagorical coloring.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
inst
man
DESCRIPTION
NAMESPACE
README.md

README.md

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()
You can’t perform that action at this time.