toRgbaFromAlphaChannel
Note: As mentioned in the article, this one won't work locally with most browsers.
Article: Emulating Lossy RGBA Images with HTML5's Canvas Element