addTransparency: Add transparency to a vector of colors

View source: R/addTransparency.R

addTransparencyR Documentation

Add transparency to a vector of colors

Description

Function to add transparency to a vector of colors

Usage

addTransparency(clrs, alpha = 1)

Arguments

clrs
  • vector of colors

alpha
  • level of transparency to add (0-1)

Details

None.

Value

corresponding vector of colors with transparency added


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.