note 11645 added to ImageColorAllocate
| From: | teriumNOSPAM at techie dot com | Date: | Thu, 01 Mar 2001 01:00:11 +0000 |
| Subject: | note 11645 added to ImageColorAllocate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11689@lists.php.net to get a copy of this message | ||
If you like using hex values to make it easier to match colors you have in HTML, etc. you can do:
imageColorAllocate($image, 0xAA, 0xBB, 0xCC);
AA is red, BB is green, CC is blue.. same as #AABBCC in HTML
http://www.php.net/manual/en/function.imagecolorallocate.php