note 22219 added to function.imagecolorallocate
| From: | sharpwit at hotmail dot com | Date: | Tue, 11 Jun 2002 06:56:09 +0000 |
| Subject: | note 22219 added to function.imagecolorallocate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31685@lists.php.net to get a copy of this message | ||
little known fact -- you can also just use the 0x syntax for creating colors from hexidecimal
values... thusly:
$c = imagecolorallocate($g,0x99,0xcc,0xff);
--
http://www.php.net/manual/en/function.imagecolorallocate.php
http://master.php.net/manage/user-notes.php?action=edit+22219
http://master.php.net/manage/user-notes.php?action=delete+22219
http://master.php.net/manage/user-notes.php?action=reject+22219