Random Bitwise Colors

You can tap in to some random colors using the bitwise operators and a php rand function. The operators that work with this function are as follows:
OperatorSymbolFunctionExample
And&Produces black and bluesWebTVPC
Or|Produces pastels, seems on two channelsWebTVPC
Xor^Produces pastels seems on three channelsWebTVPC
Left Shift<<Produces true colorsWebTVPC
the Right shift (>>) and the Not (~) functions do not produce anything.
Sample Php ImagesText
WebTVPCCode
WebTVPCCode
WebTVPCCode
WebTVPCCode
WebTVPCCode
WebTVPCCode

WebTV viewers should put the PHP code in a file and then use the php file in an image tag on a html file. Example: <img src="Bit.php" reload="1">

This image changes
on reload.


See Also Random PHP Colors

LingoLinda.com