Voting

: five plus zero?
(Example: nine)

The Note You're Voting On

Anonymous
20 years ago
When you are using truecolor images, you can also use bitwise operations to generate the color:
<?php
$color
= ($r << 16) | ($g << 8) | $b; // 2261213
?>
This is identical to the imagecolorallocate() function, in truecolor images!

<< Back to user notes page

To Top