note 79341 added to function.imagecolorallocate
| From: | djcassisatgmaildotcom at osu1 dot php dot net | Date: | Wed, 21 Nov 2007 20:06:53 +0000 |
| Subject: | note 79341 added to function.imagecolorallocate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132471@lists.php.net to get a copy of this message | ||
I also find the following useful when dealing with HTML hexadecimal colors :
<?php
$color = '#FFffFF';
print_r(sscanf($color, '#%2x%2x%2x'));
?>
outputs :
Array
(
[0] => 255
[1] => 255
[2] => 255
)
----
Server IP: 193.190.198.20
Probable Submitter: 91.176.159.27
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorallocate.php
Edit -- https://master.php.net/note/edit/79341
Del: integrated -- https://master.php.net/note/delete/79341/integrated
Del: useless -- https://master.php.net/note/delete/79341/useless
Del: bad code -- https://master.php.net/note/delete/79341/bad+code
Del: spam -- https://master.php.net/note/delete/79341/spam
Del: non-english -- https://master.php.net/note/delete/79341/non-english
Del: in docs -- https://master.php.net/note/delete/79341/in+docs
Del: other reasons-- https://master.php.net/note/delete/79341
Reject -- https://master.php.net/note/reject/79341
Search -- https://master.php.net/manage/user-notes.php