Skip to contents

Apply transparency and remove the alpha channel afterwards.

Usage

fade(col, opacity = 0.5)

Arguments

col

vector of valid R colors

opacity

opacity value between 0 and 1

Value

Character vector of colors.

See also