makeTransparent: Make a color transparent

View source: R/plot_ae.R

makeTransparentR Documentation

Make a color transparent

Description

Makes any given color(s) transparent

Usage

makeTransparent(color, alpha = 100)

Arguments

color

any color.

alpha

the alpha channel value, (0:255) - from fully transparent to opaque

Examples


plot(1:255, col=makeTransparent('firebrick', 1:255), pch=16, cex=2)



LBMC/wormAge documentation built on April 6, 2023, 3:52 a.m.