transparentColor: Define colors with transparency

View source: R/transparentColor.R

transparentColorR Documentation

Define colors with transparency

Description

Converts a named color and opacity and returns the proper RGB code.

Usage

transparentColor(namedColor, alpha = 0.8)

Arguments

namedColor

a color name

alpha

a transparency value between 0 and 1, where 0 is fully transparent

Value

Returns the transparent color in RGB format.

Author(s)

Pascal Title


rangeBuilder documentation built on Oct. 31, 2024, 1:08 a.m.