rpg_color_pal: Retrieve a Palette

View source: R/Colors_Dev.R

rpg_color_palR Documentation

Retrieve a Palette

Description

This function excepts a character string for a palette and returns a function that can be turned into a palette

Usage

rpg_color_pal(palette = "logo", reverse = FALSE, ...)

Arguments

palette

A string representing a color palette, see https://bfroebrpg.github.io/rpgcolorsr_pages/ for a full list of palettes

reverse

When true the default order of the color palette is reversed

Details

adding a number after the function call will create a palette with that number of steps

Value

a function to create a color palette


BFroebRPG/rpgcolorsr documentation built on Sept. 7, 2024, 12:14 a.m.