::display.brewer.all() RColorBrewer
Color
From https://r-graph-gallery.com/38-rcolorbrewers-palettes.html
From https://colorspace.r-forge.r-project.org/
::hcl_palettes("sequential (multi-hue)", n = 7, plot = TRUE) colorspace
From https://github.com/thomasp85/scico
::scico_palette_show() scico
From https://sape.inf.usi.ch/quick-reference/ggplot2/colour
=data.frame(c=colors(), y=seq(0, length(colors())-1)%%66, x=seq(0, length(colors())-1)%/%66)
d::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) ggplot2
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.
https://www.sessions.edu/color-calculator/