Learn R Programming

kergp (version 0.5.7)

translude: Make Translucent colors

Description

Make translucent colors.

Usage

translude(colors, alpha = 0.6)

Value

A vector of translucent (or semi-transparent) colors.

Arguments

colors

A vector of colors in a format that can be understood by col2rgb.

alpha

Level of opacity ("0" means fully transparent and "max" means opaque). After recycling to reach the required length, this value or vector is used as alpha in rgb.