pal_seq: Palettes for sequential scale

View source: R/pal_seq.R

pal_seqR Documentation

Palettes for sequential scale

Description

Palettes for a sequential scale, with the following palettes:

- andor: 6 colors, inspired by the TV series Andor (Star Wars).
- badlands: 5 colors, inspired by the TV series Into the Badlands.
- breaking_bad: 5 colors, inspired by the TV series Breaking Bad.
- clockwork_orange: 8 colors, inspired by the movie Clockwork Orange.
- cyberpunk: 5 colors, inspired by the videogame Cyberpunk 2077.
- fleabag: 6 colors, inspired by the TV series Fleabag.
- house_md: 6 colors, inspired by the TV series House MD.
- house_of_cards: 7 colors, inspired by the TV series House of Cards.
- loki: 7 colors, inspired by the TV series Loki.
- lovecraft_country: 9 colors, inspired by the TV series Lovecraft Country.
- mare_easttown: 7 colors, inspired by the TV series Mare of EastTown.
- peaky_blinders: 8 colors, inspired by the TV Peaky Blinders.
- raised_by_wolves: 6 colors, inspired by the TV series Raised by Wolves.
- sabrina: 8 colors, inspired by the TV series Sabrina.
- sandman: 6 colors, inspired by the TV series Sandman.
- sucession: 6 colors, inspired by the TV series Sucession.
- the_wire: 6 colors, inspired by the TV series The Wire.
- tiger_king: 7 colors, inspired by the TV series Tiger King.
- westworld1: 7 colors, inspired by the TV series WestWorld.
- westworld2: 8 colors, inspired by the TV series WestWorld.
- wonka: 5 colors, inpired by the movie Wonka.

Usage

pal_seq(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_seq("cyberpunk"))


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