/** * rgb2hex * Given an array of 3 elements containing RGB information, it will return * a string of the HEX color. * * @access public * @param array 3 element array. * @return string * @author Jason Lotito <*****@*****.**> */ function rgb2hex($color) { return Image_Color::_returnColor($color); }