R/col.alpha.R

col.alpha <- function (col, alpha=0.5) 
{
        COL <- col2rgb(col)/255
        rgb(red=COL[1], green=COL[2], blue=COL[3], alpha=alpha)
}

Try the Imap package in your browser

Any scripts or data that you put into this service are public.

Imap documentation built on May 2, 2019, 2:46 a.m.