0
@cimmanon addressed some very good points on the concept itself, so I though I would address the code.
$colors
I see things like this for example:
$colors = array(
'black',
'red'=>array('dark','indian','mediumviolet','orange','paleviolet'),
'green'=>array('dark','light','forest','...