pal_div | R Documentation |
Palette for a divergent scale, with the following palettes:
- arcane: 5 colors, inspired by the animation Arcane.
- auto_compadecida: 6 colors, inspired by the movie O Auto da Compadecida.
- blue_eye_samurai: 6 colors, inpired by the TV series Blue Eye Samurai.
- casa_de_papel: 7 colors, inspired by the TV series La Casa de Papel.
- deadly_class: 6 colors, inspired by the TV series Deadly Class.
- dexter: 6 colors, inspired by the TV series Dexter.
- godzilla_vs_kong: 9 colors, inspired by the movie Godzilla vs Kong.
- good_place: X colors, inspired by the TV series The Good Place.
- homeland: 9 colors, inspired by the TV series Homeland.
- laura_dean: 8 colors, inspired by the graphic novel Laura Dean Keeps Breaking Up with Me.
- racionais: 7 colors, inspired by the CD cover
'Nada Como Um Dia Após o Outro Dia' of the brazilian rap group Racionais MC's.
- sandman: 5 colors, inspired by the graphic novel Sandman.
- svott_pilgrim: 6 colors, inspired by the movie Scott Pilgrim vs the World.
- the_americans: 7 colors, inspired by the TV series The Americans.
- the_expanse: 8 colors, inspired by the TV series The Expanse.
- the_marvels: 7 colors, inspired by the movie The Marvels.
- vox_machina: 7 colors, inspired by the animation The Legend of Vox Machina.
- wanda_vision: 9 colors, inspired by the TV series WandaVision.
- white_lotus: 8 colors, inspired by the TV series The White Lotus.
pal_div(name = "young_sheldon", reverse = FALSE, show_palettes = FALSE)
name |
A character single value, that is the pallete name |
reverse |
A boolean value, if TRUE the function will reverse the pallete order (default = FALSE) |
show_palettes |
A boolean value, if TRUE the function will export the names of all the palettes (default = FALSE) |
A character vector with the colors hex codes.
scales::show_col(pal_div("sandman"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.