diff --git a/reference/image/functions/imagecolorallocate.xml b/reference/image/functions/imagecolorallocate.xml index f62ef10f4c..a96e64e5f0 100644 --- a/reference/image/functions/imagecolorallocate.xml +++ b/reference/image/functions/imagecolorallocate.xml @@ -1,5 +1,5 @@ - + @@ -18,9 +18,8 @@ imagecolorallocate returns a color identifier representing the color composed of the given - RGB components. The image - argument is the return from the imagecreatetruecolor - function. red, green and + RGB components. + red, green and blue are the values of the red, green and blue component of the requested color respectively. These parameters are integers between 0 and 255 or hexadecimals between 0x00 and 0xFF. @@ -31,7 +30,8 @@ The first call to imagecolorallocate fills - the background color. + the background color in palette-based images - images created using + imagecreate. @@ -40,9 +40,11 @@