Skip to content
R package to create color palettes based on The Dresden Files book covers
R
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Started DresdenColor package git repo Jun 5, 2019
data Add files via upload Jun 5, 2019
man Started DresdenColor package git repo Jun 5, 2019
.Rbuildignore Started DresdenColor package git repo Jun 5, 2019
.Rhistory Started DresdenColor package git repo Jun 5, 2019
.gitignore Started DresdenColor package git repo Jun 5, 2019
DESCRIPTION Started DresdenColor package git repo Jun 5, 2019
DresdenColor.Rproj Started DresdenColor package git repo Jun 5, 2019
NAMESPACE Started DresdenColor package git repo Jun 5, 2019
README.md Typo Sep 17, 2019

README.md

DresdenColor

The Dresden Files inspired color palette for R users.
In honor of the recent release of Brief Cases by Jim Butcher I created a family of Dresden Files inspired color palettes using the cover art by Chris McGrath from Orbit Books.
Code adapted from LaCroixColorR written by Dave Armitage and Johannes Bjork.

Install the package

install.packages("devtools")
devtools::install_github("katiesaund/DresdenColor")

Choose from 3 kinds of palettes: "discrete", "continuous", and "paired"

Discrete

dresden_palette("briefcases", type = "discrete")

Brief Cases

Inspired by:
Brief Case cover art

Fool Moon

Continuous

dresden_palette("briefcases", n = 50, type = "continuous")
Brief Cases

dresden_palette("foolmoon", n = 50, type = "continuous")
Fool Moon

Paired

dresden_palette(type = "paired")
Paired

Plots with Brief Case palette

mat <- matrix(rnorm(n = 100, mean = 0, sd = 20), ncol = 10)
heatmap(mat, col = dresden_palette("foolmoon", type = "continuous", n = length(unique(mat))))
Heatmap

Line plot

Create a palette from any novel title (one word, all lowercase): All palettes

Many thanks to Jim Butcher!!!

You can’t perform that action at this time.