Home
last modified time | relevance | path

Searched refs:HexColorString (Results 1 – 1 of 1) sorted by relevance

/plugin/photogallery/phpThumb/
H A Dphpthumb.functions.php232 public static function IsHexColor($HexColorString) { argument
233 return preg_match('#^[0-9A-F]{6}$#i', $HexColorString);
245 …public static function ImageHexColorAllocate(&$gdimg_hexcolorallocate, $HexColorString, $dieOnInva… argument
249 if (self::IsHexColor($HexColorString)) {
250 $R = hexdec(substr($HexColorString, 0, 2));
251 $G = hexdec(substr($HexColorString, 2, 2));
252 $B = hexdec(substr($HexColorString, 4, 2));
256 die('Invalid hex color string: "'.$HexColorString.'"');