Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script for automatic generation of one pixel alpha-transparent images for non-RGBA browsers to easily emulate RGBA colors in backgrounds
branch: master

This branch is 6 commits behind LeaVerou:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
index.html
license.txt
rgba.php
style.css

README.markdown

rgba.php

Script for automatic generation of one pixel alpha-transparent images for non-RGBA browsers to easily emulate RGBA colors in backgrounds.

More info

Updates

First, I updated your rgba() string parsing. It's not much (literally microseconds faster), but it is faster and more system efficient. (see the included script benchmark.php for direct comparison).

I have now added all 16 of the valid HTML color names to the names list, as well as added a new syntax for loading named colors (rgba.php/colorname,alpha).

Something went wrong with that request. Please try again.