I was hoping that would be as straight forward as
Console.out.println( "Test " + Console.RED + " RED " + Console.RESET )
but nothing happens, instead I see the control characters (e.g. "\033[31m"). I tried both from within sbt (sbt run) and normal IDEA run configuration run…
It works if your console supports color. I just tried it on a linux system via putty and got the expected result.
Edit: If you’re looking to do this via windows you can use Ansicon to provide coloring in your standard command prompt.