jumble

The objective of jumble is to provide a pretty discrete colour palette that is accessible and colourblind safe. The 7 colours are accessible to normal eyes. The first 5 colours of these are colour-blind safe. The first 3 colours of these are greyscale safe.

Installation

Install from CRAN, or development version from GitHub.

install.packages("jumble") 
# pak::pak("davidhodge931/jumble")
install.packages("jumble", repos = c('https://davidhodge931.r-universe.dev', 'https://cloud.r-project.org'))

Example

library(jumble)
library(scales)
library(dichromat)
#> Warning: package 'dichromat' was built under R version 4.6.1
library(colorspace)
#> Warning: package 'colorspace' was built under R version 4.6.1

The 7 colours are accessible to normal vision.

show_col(jumble)

The first 5 colours are colour-blind safe for all forms of colour blindness.

show_col(dichromat(colours = jumble, type = "deutan"))
show_col(dichromat(colours = jumble, type = "protan"))
show_col(dichromat(colours = jumble, type = "tritan"))

Only the first 3 colours are greyscale safe.

show_col(desaturate(jumble))

Other packages

This package is part of a group of related packages built to extend ggplot2.

ggblanket

ggrefine

ggscribe

ggwidth

blends

jumble