R/acol.R

Defines functions acol

Documented in acol

acol = function(col, alpha = 0){
    cols = col2rgb(col)/255
    return(rgb(t(rbind(col2rgb(col)/255)),alpha=alpha))
}

Try the astro package in your browser

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

astro documentation built on May 2, 2019, 2:14 a.m.