Color

From https://r-graph-gallery.com/38-rcolorbrewers-palettes.html

RColorBrewer::display.brewer.all()

From https://colorspace.r-forge.r-project.org/

colorspace::hcl_palettes("sequential (multi-hue)", n = 7, plot = TRUE)

From https://github.com/thomasp85/scico

scico::scico_palette_show()

From https://sape.inf.usi.ch/quick-reference/ggplot2/colour

d=data.frame(c=colors(), y=seq(0, length(colors())-1)%%66, x=seq(0, length(colors())-1)%/%66)
ggplot2::ggplot() +
  ggplot2::scale_x_continuous(name="", breaks=NULL, expand=c(0, 0)) +
  ggplot2::scale_y_continuous(name="", breaks=NULL, expand=c(0, 0)) +
  ggplot2::scale_fill_identity() +
  ggplot2::geom_rect(data=d, mapping=ggplot2::aes(xmin=x, xmax=x+1, ymin=y, ymax=y+1), fill="white") +
  ggplot2::geom_rect(data=d, mapping=ggplot2::aes(xmin=x+0.05, xmax=x+0.95, ymin=y+0.5, ymax=y+1, fill=c)) +
  ggplot2::geom_text(data=d, mapping=ggplot2::aes(x=x+0.5, y=y+0.5, label=c), colour="black", hjust=0.5, vjust=1, size=3)

References

Tools

* https://encycolorpedia.com/ is a good place to get color names, tailwindcss is also a good reference. * colorbrewer a great place to find good looking palette, needs no introduction. * Canva’s color wheel has a quick picker and a nice refresher on harmonious color palettes, paletton gives you even more control. * Scientific color maps, Perceptually Uniform Colour Maps, and a handy ramp generator for a pinch. * A website/tri-color palette tester/generator lets you see what a palette looks like on things. * Cooler has: * A quick pallete generator * image color picker * inspiration * (Crameri 2023) through R and Python. * Video refreshers on Color Theory and Color Theory in Practice.

_3e99df83981d55aa682e1f2183b2fe94.png https://www.sessions.edu/color-calculator/

References

Crameri, Fabio. 2023. “Scientific Colour Maps.” Zenodo. https://doi.org/10.5281/ZENODO.1243862.