Recently, I was blown away by the cinematography and color palettes of the Netflix show “The Queens Gambit”, so I made a color palette generated similar to the wesanderson package. Full credit to Karthik Ram and his Wes Anderson color palette package for the code and inspiration.
Development version
devtools::install_github("rmvpaeme/queensgambit")
library("queensgambit")
# See all palettes
names(qg_palettes)
#> [1] "openings" "adopted" "moscow" "endgame" "practice" "room" "squash"
#> [8] "USopen"
qg_palette("openings")
qg_palette("adopted")
qg_palette("moscow")
qg_palette("endgame")
qg_palette("endgame", 21, type = "continuous")
qg_palette("practice")
qg_palette("room")
qg_palette("squash")
qg_palette("USopen")
library("ggplot2")
ggplot(mtcars, aes(factor(cyl), fill=factor(vs))) + geom_bar() +
scale_fill_manual(values = qg_palette("USopen")[1:2]) + theme_bw()