colorRampAlpha <- function(..., n, alpha) {
colors <- colorRampPalette(...)(n)
paste(colors, sprintf("%x", ceiling(255*alpha)), sep="")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.