tabulate_palette: Tabulate Palette

View source: R/palettes.R

tabulate_paletteR Documentation

Tabulate Palette

Description

This function takes a list of color palettes and returns a data frame with detailed information about each color.

Usage

tabulate_palette(palette_list)

Arguments

palette_list

A list of color palettes. Each element of the list should be a character vector of color names or hex codes.

Value

A data frame with columns for RGB values, color names, hex codes, and palette identifiers.

Examples

palette_list <- list(
  palette1 = c("red", "green", "blue"),
  palette2 = c("#FF0000", "#00FF00", "#0000FF")
)
tabulate_palette(palette_list)

petrbouchal/ptrr documentation built on Oct. 10, 2024, 7:21 a.m.