create_palette: Function creates a color palette from a named vector of...

Description Usage Arguments Author(s)

View source: R/create_palette.R

Description

The function creates a readable .rds file for persisting a list of hexadecimal strings for defining a palette.

Usage

1
create_palette(palette_path, palette_colors = NULL)

Arguments

palette_path

A string that sets the file path for the .rds file that contains a vector of colors in hexidecimal format.

palette_colors

A named vector with a readable color name and its corresponding hexadecimal string value.

Author(s)

Rick Dean


deandevl/RpalettePkg documentation built on Sept. 19, 2021, 8:45 a.m.