I just posted a GID Community blog entitled:
Blended Colours by Opacity, a PHP Function.
Quote:
A couple of days ago, I wrote this PHP function to help me find a colour by manipulating opacity levels between 2 colours. I just give the function a foreground colour, a background colour, and a suitable opacity level (for the foreground colour) and have it return a hexadecimal number.
In plain English: if the foreground colour is FFFFFF (white) and the background color is 000000 (black), and the opacity level is set at 50, I would expect the function to return 808080 (grey or gray). read more...
|
Please let me know what you think.
This is an auto-generated message posted by GIDNetwork™ on behalf of the author.