kodom_colors: Kodom color palette

View source: R/colors.R

kodom_colorsR Documentation

Kodom color palette

Description

Returns colors inspired by the Kadam flower (Neolamarckia cadamba): teal (low), gold (mid), red (high). Passing n > 3 interpolates between the three anchors via grDevices::colorRampPalette().

Usage

kodom_colors(n = 3L)

Arguments

n

Number of colors. 3 returns the anchor set; >3 interpolates.

Value

Character vector of hex color codes.

Examples

kodom_colors()
kodom_colors(7)

ggkodom documentation built on June 20, 2026, 5:06 p.m.