Python module created to add colour to messages printed to screen
Fucntion print_in_colour to be imported into your script
from coloured_print import print_in_colour as print_ic
You can then call the function using this alias and it takes 2 arguments
- Arg 1: colour you wish to use
- Arg 2: the message you want printed to screen
0 = black
1 = Blue
2 = Green
3 = Cyan
4 = Red
5 = Magenta
6 = Brown
7 = Light Gray
8 = Dark Gray
Intensity - All colours beyond here have Instensity factored in
9 = Light Blue
10 = Light Green
11 = Light Cyan
12 = Light Red
13 = Light Magenta
14 = Yellow
15 = White
Entries beyond this point change background colour too
16 -> 31 Blue background
32 -> 47 Green background
48 -> 63 Cyan background
64 -> 79 Red background
80 -> 95 Magenta background
96 -> 111 Brown background
112 -> 127 Light Grey background
128 -> 143 Dark Grey background
144 -> 159 Light Blue background
160 -> 175 Light Green background
176 -> 191 Light Cyan background
192 -> 207 Light Red background
208 -> 223 Light Magenta background
224 -> 239 Yellow background
240 -> 255 White background