I already tried a seperate way as shown in what I tried, but it didnt output correctly.
public static final String ANSI_RESET = "\u001B[0m";
public static final String ANSI_RED = "\u001B[31m";
public static final String ANSI_BLUE = "\u001B[34m";
After setting up the strings I tried to run it with this line:
System.out.println(ANSI_RED + "Connect 4:" + ANSI_RESET);
And the output was :
[31mConnect 4:[0m
How could I do this correctly?