Sfairadora

  • Reference Guide

Color Functions

In this section, the functions handling the type Color are described. Alternatively to these functions, the values of the type Color can be constructed and analyzed by typecast from/to the definition type Color_def.
Example:
bmp <- draw_pixel (0, 0, [Color_def]{red: 10, green: 20, blue: 30});
is equivalent to
bmp <- draw_pixel (0, 0, color(10, 20, 30));
The current settings of colors used to draw the standard controls can be found in the structure system.info.color.

Overview

●
blue
●
color
●
green
●
red