makeTrans: makeTrans

View source: R/muMakeTrans.R

makeTransR Documentation

makeTrans

Description

make a vector of colors transparent

Usage

makeTrans(ccc, isText = FALSE, transparancy.val = "44")

Arguments

ccc

color vector to make transparent

isText

are the colors textstrings (as opposed to hex value strings)?

transparancy.val

string value for transparancy

Value

a vector of colors with transparancy (hex strings)

Examples

makeTrans(rainbow(6))
makeTrans(c("red","dark blue","coral"),isText=TRUE)

demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.