Skip to content

pwarncke77/SmashingPumpkins

Repository files navigation

SmashingPumpkins

All image rights belong to Virgin Records.

R-CMD-check

SmashingPumpkins provides color palettes based on the iconic album covers by ‘The Smashing Pumpkins’. Modeled after karthik/wesanderson (https://github.com/karthik/wesanderson), this package provides vectors of hexadecimal color codes to visually enhance plotting in R.

Installation

You can install the development version of SmashingPumpkins from GitHub with:

# install.packages("devtools")
devtools::install_github("pwarncke77/SmashingPumpkins")

Example usage:

library(SmashingPumpkins)
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 4.2.3

ggplot(iris, aes(x = Sepal.Length, y = Petal.Length, color = Species, shape = Species))+
  geom_point(size = 3.6)+
  scale_color_manual(values = SmashingPumpkins::pumpkins_palette("mellon_collie")[3:5])+
  theme_minimal()

ggplot(mtcars, aes(x = mpg, fill = as.factor(cyl)))+
  geom_density(alpha = 0.7, bw = 1.1)+
  scale_fill_manual(values = SmashingPumpkins::pumpkins_palette("siamese_dream_light")[2:4])+
  ylab("")+
  theme_dark()

All available color palettes

Gish (1991)

SmashingPumpkins::pumpkins_palette("gish")

Gish (1991) dark

SmashingPumpkins::pumpkins_palette("gish_dark")

Gish (1991) light

SmashingPumpkins::pumpkins_palette("gish_light")

Siamese Dream (1993):

SmashingPumpkins::pumpkins_palette("siamese_dream")

Siamese Dream (1993) dark:

SmashingPumpkins::pumpkins_palette("siamese_dream_dark")

Siamese Dream (1993) light:

SmashingPumpkins::pumpkins_palette("siamese_dream_light")

Siamese Dream reissue (2011):

SmashingPumpkins::pumpkins_palette("siamese_dream_re")

Mellon Collie and the Infinite Sadness (1995):

SmashingPumpkins::pumpkins_palette("mellon_collie")

Mellon Collie and the Infinite Sadness (1995) dark:

SmashingPumpkins::pumpkins_palette("mellon_collie_dark")

Mellon Collie and the Infinite Sadness (1995) light:

SmashingPumpkins::pumpkins_palette("mellon_collie_dark")

Adore (1998):

SmashingPumpkins::pumpkins_palette("adore")

Zeitgeist (2007):

SmashingPumpkins::pumpkins_palette("zeitgeist")

Oceania (2012):

SmashingPumpkins::pumpkins_palette("oceania")

Cyr (2020):

SmashingPumpkins::pumpkins_palette("cyr")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages