painbow: Use XKCD's "Painbow" Colormap in ggplot2

XKCD described a supposedly "bad" colormap that it called a "Painbow" (see <>). But simple tests demonstrate that under some circumstances, the colormap can perform very well, and people can find information that is difficult to detect with the ggplot2 default and even supposedly "good" colormaps like viridis. This library let's you use the Painbow in your own ggplot graphs.

Getting started

Package details

AuthorSteve Haroz
MaintainerSteve Haroz <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the painbow package in your browser

Any scripts or data that you put into this service are public.

painbow documentation built on Nov. 12, 2021, 1:07 a.m.