translude: Make Translucent colors

Description Usage Arguments Value

Description

Make translucent colors.

Usage

1
  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.


kergp documentation built on March 18, 2021, 5:06 p.m.