return the ANSI codes for the given colors. Can use a numeric value such as generated by the %color function.
You can also modify the fore and back attributes with the strings:
The words "default" and "reset" will reset the colour to its default value, as in the code ESC[0m.
displays "Hello" in bright red and "World" in blinking blue letters on a white background
displayes "Hello" in yellow and "World" in the default colour.
Add comment