Color Palettes from 'Avatar: The Last Airbender'

Color palettes inspired by characters and nations from the animated series 'Avatar: The Last Airbender' for use in R graphics.


AvatarTLA

Ko-fi

  • AvatarTLA provides color palettes inspired by characters and nations from the animated series Avatar: The Last Airbender for R graphics. The package structure and syntax are modeled after the popular wesanderson package.

Installation

  • You can install the development version of AvatarTLA from GitHub with:
# install.packages("devtools")
devtools::install_github("Gerardo-Manzanarez-Villasana/AvatarTLA")

Usage

library("AvatarTLA")

library(ggplot2)

# List all available palette names
names(avatar_palettes)
#>  [1] "Mai"          "Suki"         "Iroh"         "FireNation"   "AirNomads"   
#>  [6] "EarthKingdom" "WaterTribe"   "Appa"         "Sokka"        "Toph"        
#> [11] "Azula"        "Aang"         "Zuko"         "Katara"       "Ty"          
#> [16] "Momo"

Palette Previews

  • You can inspect all available palettes using avatar_palette()

Characters

Aang

Inspiration

Aang, the Last Airbender by Yueko Aang, the Last Airbender by Yueko

Color palette inspired by Aang

avatar_palette("Aang")

Toph

Inspiration

Toph, the Blind Bandit by Yueko Toph, the Blind Bandit by Yueko

Color palette inspired by Toph

avatar_palette("Toph")

Mai

avatar_palette("Mai")

Suki

avatar_palette("Suki")

Discrete bar plot with Suki palette

ggplot(mpg, aes(x = drv, fill = drv)) +
  geom_bar() +
  scale_fill_manual(values = avatar_palette("Suki")) +
  theme_minimal() +
  labs(
    title = "Drive Trains with Suki Palette",
    x = "Drive Train",
    y = "Count"
  ) +
  theme(legend.position = "none")

Momo

avatar_palette("Momo")

Iroh

avatar_palette("Iroh")

Appa

avatar_palette("Appa")

Sokka

avatar_palette("Sokka")

Azula

avatar_palette("Azula")

Boxplot with Azula palette

ggplot(iris, aes(x = Species, y = Sepal.Length, fill = Species)) +
  geom_boxplot() +
  scale_fill_manual(values = avatar_palette("Azula", 3)) +
  theme_light() +
  labs(
    title = "Sepal Length Across Species",
    x = "Species",
    y = "Sepal Length (cm)"
  )

Zuko

avatar_palette("Zuko")

Katara

avatar_palette("Katara")

Ty Lee

avatar_palette("Ty")

Avatar Nations

Fire Nation

avatar_palette("FireNation")

Air Nomads

avatar_palette("AirNomads")

Earth Kingdom

avatar_palette("EarthKingdom")

Continuous heatmap using the EarthKingdom palette

ggplot(faithfuld, aes(x = eruptions, y = waiting, fill = density)) +
  geom_tile() +
  scale_fill_gradientn(colors = avatar_palette("EarthKingdom", 100, type = "continuous")) +
  theme_minimal() +
  labs(
    title = "Old Faithful Eruption Density",
    x = "Eruption Duration (min)",
    y = "Waiting Time (min)",
    fill = "Density"
  )

Water Tribe

avatar_palette("WaterTribe")

Credits

Logo

Nation Palettes

  • The nation palettes were inspired by the tvthemes 1.3.1 package. Credit goes to its authors

Character Palettes

  • The color palettes for the characters—Suki, Mai, and Momo—were created by me with the help of the Coolors website
  • The rest of the characters’ palettes were taken from the Schemecolor website. All credit goes to their respective creators

Character Images

  • The sample images shown are for illustrative purposes only. The creators of the Nickelodeon series are Michael Dante DiMartino and Bryan Konietzko

Feel free to leave character suggestions or any comments

Best regards

Gerardo Manzanarez-Villasana

Glochids are forever

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("AvatarTLA")

0.1.0 by Gerardo Manzanarez-Villasana, a month ago


https://github.com/Gerardo-Manzanarez-Villasana/AvatarTLA


Report a bug at https://github.com/Gerardo-Manzanarez-Villasana/AvatarTLA/issues


Browse source code at https://github.com/cran/AvatarTLA


Authors: Gerardo Manzanarez-Villasana [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports graphics, grDevices


See at CRAN