ewenme
ghibli
R

Studio Ghibli colour palettes

Last updated Jul 3, 2026
449
Stars
18
Forks
1
Issues
+1
Stars/day
Attention Score
64
Language breakdown
R 52.6%
HTML 28.8%
CSS 18.5%
Files click to expand
README

ghibli

lifecycle CRAN status DLs R-CMD-check

Overview

“No matter how many weapons you have, no matter how great your
technology might be, the world cannot live without love!” —*Castle in
the Sky (1986)*

。◕‿‿◕。 Sprinkle some Studio Ghibli palette magic over your plots 。◕‿‿◕。

Installation

Install the latest stable version on CRAN…

r
install.packages('ghibli')

…or get the development version from GitHub.

r

install package from github

remotes::install_github("ewenme/ghibli")

Palettes

ghibli provides 9 unique palettes, with a light, medium and dark variant for each.

r

load package

library(ghibli)

display palettes w/ names

par(mfrow=c(9,3)) for(i in names(ghiblipalettes)) print(ghiblipalette(i))

N.B. the palettes are exposed in YAML format for easier porting to new libraries.

All colour palettes are stored as color objects (courtesy of the prismatic package) inside ghibli_palettes with extremely cute printing (if crayon is installed) and plotting methods to help you preview flavours.

In the wild

ghibli provides relevant scales for use with ggplot2. It only suggests ggplot2 in order to stay lightweight, but if available you can use the scale[colour|fill]ghibli_[c|d]() functions:

r
library(ggplot2)

ggplot stuff

ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) + geom_jitter(size = 3) + theme_minimal() + # ghibli stuff scalecolourghibli_d("LaputaMedium", direction = -1)

Other stuff

  • Get citation information for ghibli in R with
citation(package = 'ghibli')
  • Please note that the ghibli project is released with a Contributor
Code of Conduct. By contributing to this project, you agree to abide by its terms. package Color. Go check ’em.
🔗 More in this category

© 2026 GitRepoTrend · ewenme/ghibli · Updated daily from GitHub