| 5 color.module | _color_gd($img, $hex) |
| 6 color.module | _color_gd($img, $hex) |
| 7 color.module | _color_gd($img, $hex) |
| 8 color.module | _color_gd($img, $hex) |
Converts a hex triplet into a GD color.
1 call to _color_gd()
File
- modules/
color/ color.module, line 666 - Allows users to change the color scheme of themes.
Code
function _color_gd($img, $hex) {
$c = array_merge(array($img), _color_unpack($hex));
return call_user_func_array('imagecolorallocate', $c);
}
Login or register to post comments