pal_qua: Palettes for qualitative scale

View source: R/pal_qua.R

pal_quaR Documentation

Palettes for qualitative scale

Description

Palettes for a qualitative scale, with the following palettes:

- berlim: 5 colors, inspired by the TV series Berlim.
- bojack_horseman: 5 colors, inspired by the animation BoJack Horseman.
- cowboy_bebop: 5 colors, inspired by the animation Cowboy Bebop.
- doctor_who: 6 colors, inspired by the TV series Doctor Who.
- elemental: 6 colors, inspired by the movie Elemental.
- final_space: 4 colors, inspired by the animation Final Space.
- gurren_lagann: 5 colors, inspired by the animation Tengen Toppa Gurren-Lagann.
- heartstopper: 5 colors, inspired by the TV series Heartstopper.
- kaleidoscope: 7 colors, inspired by the TV series Kaleidoscope.
- kick_ass: 6 colors, inspired by the movie Kick-ass.
- killers_flower_moon: 5 colors, inspired byt the movie Killers of the Flower Moon.
- legion: 9 colors, inspired by the TV series Legion.
- mario_bros: 7 colors, inspired by the movie The Super Mario Brothers.
- moonlight: 5 colors, inspired by the movie Moonlight.
- ms_marvel: 6 colors, inspired by the TV Series Ms Marvel.
- omitb: 5 colors, inspired by the TV series Only Murders in the Building.
- pulp_fiction: 8 colors, inspired by the movie Pulp Fiction.
- red_dead: 6 colors, inspired by the video game Red Dead Redemption.
- rick_and_morty: 8 colors, inspired by the animation Rick and Morty.
- ted_lasso: 5 colors, inspired by the TV series Ted Lasso.
- this_is_us: 5 colors, inspired by the TV series This is Us.
- versace: 8 colors, inspired by the TV series Versace.
- ww84: 6 colors, inspired by the movie Wonder Woman 84.
- young_sheldon: 5 colors, inspired by the Tv series Young Sheldon.

Usage

pal_qua(name = "young_sheldon", reverse = FALSE, show_palettes = FALSE)

Arguments

name

A character vector, 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)

Value

A character vector with the colors hex codes.

Examples


scales::show_col(pal_qua("this_is_us"))


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.