getCiLegendColors: Helper to calculate ci colors for legends

View source: R/utils.R

getCiLegendColorsR Documentation

Helper to calculate ci colors for legends

Description

Helper to calculate ci colors for legends

Usage

getCiLegendColors(color, n = 1, alpha = NULL)

Arguments

color

The color of the ci band

n

The number if ci bands

alpha

The alpha/transparency of the ci band

Details

Color may be specified as either a named color or a hex value Transparency may be specified as a hex value, number 0-255 or number 0-1

Value

A vector of non-transparent colors that result from oberlaying color over pure white 1:n times


tstools documentation built on June 7, 2023, 5:13 p.m.