This wiki is out of date, use the continuation of this wiki instead

Color

From FenixWiki

Revision as of 10:32, 24 February 2008 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Colors are widely used in Fenix/Bennu. They are used for example in texts functions.

In 8 bit color mode, the color corresponds with the palette index (0..255); in 16 bit color mode the color corresponds with an RGB value (0..65535). The RGB values of a color can be obtained with get_rgb().

For more information see rgb().

Personal tools