view_palette: View a palette with color labels

View source: R/view_palette.R

view_paletteR Documentation

View a palette with color labels

Description

Displays a pie chart with labeled hex codes for visualizing and identifying individual colors in a palette.

Usage

view_palette(palette)

Arguments

palette

A character vector of hex color codes.

Examples

view_palette(get_palette("sb", "deep"))

emilelatour/laviz documentation built on June 13, 2025, 9:41 a.m.