translude {kergp}R Documentation

Make Translucent colors

Description

Make translucent colors.

Usage


  translude(colors, alpha = 0.6)

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.

Value

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


[Package kergp version 0.5.7 Index]