setColor
procedure setColor(red, green, blue:integer);
Set the color to be used for drawing all the subsequent graphical elements. The 'red', 'green' and 'blue' components can take values between 0 and 255. For example, the black color representation is (0, 0, 0), bright red is (255, 0, 0), and white is (255, 255, 255).
begin
setColor(0, 0, 255); { set the color to bright blue }
drawText('Hello world', 0, 0);
repaint;
delay(1000);
end.
See also: getColorRed, getColorGreen, getColorBlue