Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Script for automatic generation of one pixel alpha-transparent images for non-RGBA browsers to easily emulate RGBA colors in backgrounds
PHP CSS
branch: master

Merge pull request #13 from niekdegreef/patch-2

as per previous pull request
latest commit 72556a0f6d
@LeaVerou authored

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.