It depends on the OS, more specifically, the shell that you run things in.
Since OnlineGBD is running on a Unix system, you can look at this: https://stackoverflow.com/questions/6841143/how-to-set-font-color-for-stdout-and-stderr
And for the colour codes, check https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences
Here's a sample in Python:
blue ="\033[36m"
print(f'{blue}Hello World')Good luck!