I am writing a script and I want to output text messages to the console with different colors depending on conditions. For example: RED for errors and BLUE for warnings, etc
On either Linux or Mac, you could try https://github.com/jalvesaq/colorout It doesn't work on Windows.