vlkr_colors_polarized: Get colors for polarized scales

View source: R/plots.R

vlkr_colors_polarizedR Documentation

Get colors for polarized scales

Description

Creates a gradient scale based on VLKR_FILLPOLARIZED.

Usage

vlkr_colors_polarized(n = NULL, inv = FALSE)

Arguments

n

Number of colors or NULL to get the raw colors from the config

inv

Whether to get a text color with good contrast on the chosen fill colors.

Value

A vector of colors.


volker documentation built on Nov. 5, 2025, 5:21 p.m.