col2alpha: Modify the alpha value for given color vector

Description Usage Arguments See Also

View source: R/col2alpha.R

Description

Modify the alpha value for given color vector

Usage

1
col2alpha(col, alpha = 0.5)

Arguments

col

vector of colors as defined by any of the three R specifications

alpha

numeric of length 1, between 0 and 1

See Also

col2rgb, rgb

alpha2opaque


daynefiler/dlfUtils documentation built on Oct. 22, 2021, 9:49 a.m.