Re: [PHP] Reversing the Colour

2002-10-09 Thread ::[ Julien Bonastre ]::
col_arr=split(",",preg_replace("/([\d]{2})([\d]{2})([\d]{2})/","$1,$2,$3" ,$bgcol)); Anyway... - Original Message - From: "::[ Julien Bonastre ]::" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 11:59 PM Subjec

Re: [PHP] Reversing the Colour.

2002-10-09 Thread ::[ Julien Bonastre ]::
have the $midcol var which holds a uppercase HTML hex colour string which represents the midway colour between $bgcol and $lncol.. Finally.. :-p Ok HIH - Original Message - From: "::[ Julien Bonastre ]::" <[EMAIL PROTECTED]> To: "::[ Julien Bonastre ]::"

Re: [PHP] Reversing the Colour.

2002-10-09 Thread ::[ Julien Bonastre ]::
($bg col_arr[1],$lncol_arr[1]),getMidColour($bgcol_arr[2],$lncol_arr[2])); --- HIH.. Not tested.. Please tell me how it goes (if it goes :-p) Bye - Original Message - From: "Alexis Antonakis" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. N

Re: [PHP] Reversing the Colour.

2002-10-09 Thread Pekka Saarinen
At 10/9/2002, you wrote: >Hi, > >I have a site whereby the user can select the colour of links for their >individual sections. > >What I would like to do is to get the exact opposite colour of the one that >they choose and use that in the 'hover over' option of the tag. > >The value for the colou

[PHP] Reversing the Colour.

2002-10-09 Thread Alexis Antonakis
Hi, I have a site whereby the user can select the colour of links for their individual sections. What I would like to do is to get the exact opposite colour of the one that they choose and use that in the 'hover over' option of the tag. The value for the colour is stored in hex. To add to thi