require_once '/Graph/Color.php';
resource Image_Graph_Color::allocateColor (resource &$img, mixed $color)
resource Image_Graph_Color::allocateColor
Userdefined color specifications get translated into an array of rgb values.
GD-resource
any color representation supported by color2RGB()
returns Image color handle
throws no exceptions thrown
see Image_Graph_Color::color2RGB()
This function can be called statically.