Darker color
This function makes a color darker.
You can enter the difference between the colors (default = 20).
Author:
Jonas John
License:
Public Domain
Language:
PHP
Created:
05/30/2006
Updated:
05/30/2006
Tags:
color functions
for ($x=1; $x < 20; $x++){ // Start color: $c = ColorDarken('#FF481D', ($x * 3)); print "<div style='background-color: $c; color: $c; font-size: 50%; padding: 0px;'>.</div>\n"; }