R color palettes, inspired by the movies of Andrei Arsenyevich Tarkovsky (Андрей Арсеньевич Тарковский), a Russian filmmaker and film theorist. He is widely considered one of the greatest and most influental directors in the history of Russian and world cinema.
The colors of all his (color) movies in R color palettes.
The colormind
website was used to extract color from still images of the movies and structure of code was inspired by the PNWColors
package and by the
musculusColors
package.
Table of Contents
Install
Running
Palettes
Example Plots
# dev version
library(devtools)
devtools::install_github("JoshEbner/AndreiColors")
library(AndreiColors)
names(at_palette)
[1] "stalker" "nostalghia" "solaris" "mirror" "sacrifice" "violin"
at_palette("stalker")
at_palette("nostalghia")
at_palette("solaris")
at_palette("mirror")
at_palette("violin")
library(hexbin)
ggplot(data.frame(x = rnorm(1e4), y = rnorm(1e4)), aes(x = x, y = y)) +
geom_hex() +
coord_fixed() +
scale_fill_gradientn(colours = at_palette("solaris", n=50)) +
theme_classic()
ggplot(diamonds, aes(x=cut, y=carat, fill = cut)) +
geom_boxplot() +
scale_fill_manual(values=at_palette("stalker", 5)) +
theme_classic()
ggplot(diamonds, aes(carat, fill = cut)) +
geom_density(position = "stack") +
scale_fill_manual(values=at_palette("nostalghia",5, type = "discrete")) +
theme_classic()
ggplot(diamonds, aes(carat, fill = cut)) +
geom_density(position = "stack") +
scale_fill_manual(values=at_palette("mirror",5, type = "discrete")) +
theme_classic()
ggplot(diamonds, aes(x=cut, y=carat, fill = cut)) +
geom_boxplot() +
scale_fill_manual(values=at_palette("violin", 5)) +
theme_classic()
library(hexbin)
ggplot(data.frame(x = rnorm(1e4), y = rnorm(1e4)), aes(x = x, y = y)) +
geom_hex() +
coord_fixed() +
scale_fill_gradientn(colours = rev(at_palette("sacrifice", n=50))) +
theme_classic()