resolve_cmap: Neuroimaging color palettes and helpers
Description
Lightweight, perceptually-uniform color tools with safe fallbacks.
Usage
resolve_cmap(name = "grays", n = 256)
Value
A character vector of hex colors.
Arguments
name
Palette name (e.g., "grays", "viridis", "inferno", "magma",
"plasma", "turbo", "cividis"). Case-insensitive. If you pass a vector of
colors, it's returned unchanged.