PHP Color Manipulation

Posted by Lizard on Stack Overflow See other posts from Stack Overflow or by Lizard
Published on 2010-04-13T00:26:06Z Indexed on 2010/04/13 0:32 UTC
Read the original article Hit count: 480

Filed under:
|
|

I am currently looking into color manipulation / selection etc and have come acroos the following piece of code. I was wondering of someone could tell me what the following piece of code is doing and break it down for me thanks!

$newVal = round(round(($rgb['red'] / 0x33)) * 0x33);

In particluar what is the 0x33

Thanks in adavnce

© Stack Overflow or respective owner

Related posts about color

Related posts about gdlib