|
imagecolorallocatealphaAllocate a color for an image Description
int imagecolorallocatealpha
( resource
$image
, int $red
, int $green
, int $blue
, int $alpha
)
imagecolorallocatealpha behaves identically to
imagecolorallocate with the addition of the transparency
parameter Parameters
red , green
and blue parameters are integers
between 0 and 255 or hexadecimals between 0x00 and 0xFF.
Return Values
A color identifier or Warning
This function may
return Boolean Changelog
Examples
Example #1 Example of using imagecolorallocatealpha
<?php The above example will output something similar to: See Also
|