E-mail message From: nquale Date: Sun, May 8, 2005, 1:07pm (PDT+2) To: MOONDOGEE Subject: Re: Gradline tips please ....Re: eye Josh in this example I use both hex and RGB numbers for the line color- $gradient = new gdplus_gradients; $gradient->addcolor(0x00,0x00,0x00,0); $gradient->addcolor(255, 250, 250,50); $gradient->addcolor(0x00,0x00,0x00,100); hex numbers are always 0x times the 2 numbers/letters and a comma in between each set of numbers. RGB are just the 3 numbers with a comma in between. In the above example I have "black" flanking both ends of the "snowwhite" color.If you want a line with black in the center then change the coding to this- $gradient = new gdplus_gradients; $gradient->addcolor(255,250,250,0); $gradient->addcolor(0x00,0x00,0x00,,50); $gradient->addcolor(255,250,250,100); and if you want to make the line really different try something like this--add more colors- $gradient = new gdplus_gradients; $gradient->addcolor(255,250,250,0); $gradient->addcolor(0x00,0x00,0x00,20); $gradient->addcolor(0x38,0x60,0xa5,40); $gradient->addcolor(0x00,0x00,0x00,60); $gradient->addcolor(0x33,0x00,0x00,80); $gradient->addcolor(255,250,250,100); ummm I didn`t try the above colors to see how it`ll look but that`s how you make a multi colored line,just add more colors and change the percentages--- Sally stated to start with 0 and end with 100 for the percentage numbers.