Image_Graph_Color::color2RGB()

Image_Graph_Color::color2RGB() -- Convert any color-representation into an array of 4 ints (RGBA).

Synopsis

require_once '/Graph/Color.php';

array Image_Graph_Color::color2RGB (mixed $color)

Description

Userdefined color specifications get translated into an array of rgb values.

Parameter

mixed $color

any color representation supported by Image_Graph_Color::color2RGB()

Return value

returns Array of 4 ints (RGBA-representation)

Throws

throws no exceptions thrown

Note

This function can be called statically.