text_color

Definition: text_color(integer i)
Description: Set the console window foreground text color.

The following values (0..15, see psym.e or graphics.e) may be used:
BLACK, BLUE, BRIGHT_BLUE, BROWN, CYAN, BRIGHT_CYAN, GRAY, GREEN, BRIGHT_GREEN, MAGENTA, BRIGHT_MAGENTA, RED, BRIGHT_RED, WHITE, BRIGHT_WHITE, YELLOW
Comments: Text displayed on a console after calling text_color() will have the desired color.
Example:
text_color(BRIGHT_BLUE)
Example Program: demo\color.ex
See Also: bk_color