Mailinglisten-Archive |
Hi,
> dann rechne mal FFFF7F zu einer Long Zahl auf.
> Das ist doch dann 0xFF x 0xFF x 0x7F.
wie bitte?
FFFF7F ist _nicht_ 0xFF x 0xFF x 0x7F sondern
0xFF x 65536 + 0xFF x 256 + 0x7F
Also allgemeiner:
rot x 65536 + grün x 256 + blau
FFFF7F ist ein helles Gelb und FF7FFF ein helles Magenta
Gruß, Reinhold
--
Reinhold Jordan
WWW: http://reinhold.bachrain.de Mail: reinhold at bachrain.de
"The first time you'll get a Microsoft product, that doesn't suck,
will be the day they start producing vacuum cleaners." (unknown)
php::bar PHP Wiki - Listenarchive