
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.
Install from CRAN, or development version from GitHub.
install.packages("jumble")
pak::pak("davidhodge931/jumble")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.1The 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))
This package is part of a group of related packages built to extend ggplot2.
|
|
|
|
|
|
|