addcolor(0x00, 0x00, 0x00,0); $gradient->addcolor(0xff, 0xd7, 0x00,50); $gradient->addcolor(0x00, 0x00, 0x00,100); //the three lines above are making the shape of the //column the hexcode is part of each line-put 0x //in front each 2 #'s this would be gold //ffd700 (0xff, 0xd7, 0x00,0) the 0 at the end //is what shapes the column you see above that //it is black then gold then black you need the black //to make the shapes or do the shading $display = $gradient->buildgradient(100,150); //above is where you put the w x h which 100x150 header('content-type: image/png'); imagepng($display); //this is where you can change format replace png with //jpeg and save as an extension of .jpg ImageDestroy ($display); ?> //this line above is telling the server to destroy //the image these images are created //OTF=on the fly When you view the script it //makes it for you. To save the image in image //format transload (do not copy) the script URL //that ends in php when you can rename the file //name it whatever you like and give it the //extension of .png or .jpg whatever you told it //to be in the script you can now use this image //any way you like. This is making images //from the script up... All yours! Tah Dah!