RGB Color Combinations

  • Thread starter Thread starter Richard Kucia
  • Start date Start date
R

Richard Kucia

I have a simple question about RGB color coding under the CF. My Axim
supports 4096 colors, which is equivalent to 16 reds * 16 greens * 16 blues.
I assume this means that the lowest and highest valid RGB codes are (0,0,0)
and (15 * 16, 15 * 16, 15 * 16) or (0xF0, 0xF0, 0xF0). Does this mean that
(0xFF, 0xFF, 0xFF) = pure white is "invalid"?

Richard Kucia
 
Hi,

I don't think you have to worry about that, Windows CE will map the
colors internally to the closest match. Just use whatever value you
want, but keep in mind that the mapping might mean two colors with
different RGB values (e.g. 245/245/245 and 255/255/255) might look
identical on your Pocket PC.


Regards,

Elisa
 
Back
Top