1public static final String ANSI_RESET = "\u001B[0m";
2public static final String ANSI_BLACK = "\u001B[30m";
3public static final String ANSI_RED = "\u001B[31m";
4public static final String ANSI_GREEN = "\u001B[32m";
5public static final String ANSI_YELLOW = "\u001B[33m";
6public static final String ANSI_BLUE = "\u001B[34m";
7public static final String ANSI_PURPLE = "\u001B[35m";
8public static final String ANSI_CYAN = "\u001B[36m";
9public static final String ANSI_WHITE = "\u001B[37m";
10
11System.out.println(ANSI_BLACK + " this will be black" + ANSI_RESET);