Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

color to variable

if ($this_pixel['red'] < 0xEE or $this_pixel['green'] < 0xEE or $this_pixel['blue'] < 0xEE)


want 0xEE to be a varible

$color='0xEE';

is this the correct format
($this_pixel['red'] < $color or $this_pixel['green'] < $color or $this_pixel['blue'] < $color)
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

$color=0xEE;   /// don't quote
($this_pixel['red'] < $color or $this_pixel['green'] < $color or $this_pixel['blue'] < $color)
ASKER CERTIFIED SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks