Skip to contents

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

Value

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

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