Hi,
Is it possible to create an image in php with background of two colors? For example top side with a color and the lower half of the image with another background color.

The imagecolorallocate() sets background with a single color.