Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dutchmasters

This package offers six color palettes derived from paintings by the Dutch masters Johannes Vermeer and Rembrandt van Rijn. This package is inspired by the ochRe package and functions from this package have been shamelessly copied. The list dutchmasters::dutchmasters contains six named character vectors with color codes. The names represent the colors and where on the painting the color was taken.

library(dutchmasters)
dutchmasters$anatomy
## grey(corpse) black(cloak)  pink(cheek) brown(cloak) brown(table) 
##    "#B2AAA2"    "#0D0B0C"    "#B47562"    "#332826"    "#B18147" 
##  red(muscle) white(colar) 
##    "#803B31"    "#CBC2C3"

Examples

library(ggplot2)
ggplot(diamonds, aes(color, fill = clarity)) +
  geom_bar() +
  scale_fill_dutchmasters(palette = "staalmeesters")

ggplot(mtcars, aes(disp, mpg, col = qsec)) +
  geom_point(size = 4) +
  scale_color_dutchmasters(discrete = FALSE)

The six available palettes are

Vermeer - The Milkmaid

ochRe::viz_palette(dutchmasters$milkmaid)

Vermeer - Girl with a Pearl Earring

ochRe::viz_palette(dutchmasters$pearl_earring)

Vermeer - View of Delft

ochRe::viz_palette(dutchmasters$view_of_Delft)

Vermeer - The Little Street

ochRe::viz_palette(dutchmasters$little_street)

Rembrandt - The Anatomy Lesson of Dr. Nicolaes Tulp

ochRe::viz_palette(dutchmasters$anatomy)

Rembrandt - The "Staalmeesters"

ochRe::viz_palette(dutchmasters$staalmeester)

Installation

You can install dutchmasters from github with:

devtools::install_github("EdwinTh/dutchmasters")

About

R package with colour palettes derived from famous paintings by 17th century Dutch masers πŸ–ΌοΈπŸŽ¨ πŸ‘¨β€πŸŽ¨πŸ‡³πŸ‡±!

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.