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

Color

From FenixWiki

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