Inspired by Harry Potter color palette abd rock album color palette, this is a similar project based on Jojo’s Bizzare Adventure series. Currently, color palettes for Jojos from part 1 to 6 are implemented. Palettes based on stands and other characters will be added.

Install the JJBApalette package

library(devtools)
install_github("iasnobmatsu/JJBApalette")
library(JJBApalette)
library(ggplot2)

View colors in the jolyne palette

jolyne_colors = data.frame(color = as.vector(jolyne_palette()),
val = rep(1, length(jolyne_palette())))
ggplot(data = jolyne_colors, aes(x = color, y = val, fill = color)) +
geom_bar(stat="identity") +
scale_fill_jolyne("discrete") + theme_light()

data(mtcars)
ggplot(data = mtcars, aes(x = wt, y = mpg)) + geom_point(aes(color=factor(cyl))) +
scale_color_jolyne("discrete") + theme_light()

ggplot(data = mtcars, aes(x = wt, y = mpg)) + geom_point(aes(color=hp)) + 
scale_color_jolyne("continuous") + theme_light()