Skip to content

rmvpaeme/queensgambit

 
 

Repository files navigation

Queens Gambit palettes

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.

Installation

Development version

devtools::install_github("rmvpaeme/queensgambit")

Usage

library("queensgambit")

# See all palettes
names(qg_palettes)
#> [1] "openings" "adopted"  "moscow"   "endgame"  "practice" "room"     "squash"  
#> [8] "USopen"

Palettes

Openings

openings

qg_palette("openings")

Adopted

adopted

qg_palette("adopted")

Moscow

moscow

qg_palette("moscow")

Endgame

endgame

qg_palette("endgame")

qg_palette("endgame", 21, type = "continuous")

Practice

practice

qg_palette("practice")

Room

room

qg_palette("room")

Squash

squash

qg_palette("squash")

US open

US open

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()

About

A Queens Gambit color palette for R

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • R 100.0%