| as_rgb | R Documentation | 
convert to rgb colors
as_rgb(x, ...) ## S4 method for signature 'RGBColorPlane' as_rgb(x) ## S4 method for signature 'HexColorPlane' as_rgb(x) ## S4 method for signature 'ConstantColorPlane' as_rgb(x)
x | 
 the object to convert  | 
... | 
 extra args  | 
a numeric matrix of rgb components
cp <- IntensityColorPlane(seq(1,100), cols=rainbow(25)) cl <- map_colors(cp, irange=c(0,50)) rgbcols <- as_rgb(cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.