RGBa PNG
Component ID
1719896
Component name
RGBa PNG
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Dynamically generates 1x1 pixel semi-transparent PNG images for browsers that don't support RGBa. Just point your CSS at /path/to/public-files-directory/rgbapng/HEXCODE.png and an image will be returned. If the image already exists it won't be regenerated.
Example
body {
background: url(/sites/default/files/rgbapng/00abc83f.png);
background: rgba(0, 171, 200, 0.5);
}
Sass/Compass
I'm working on integration with the Sassy module to provide a replacement for compass-rgbapng ruby gem. Stay tuned.
