JCLR (JavaColor) is a library that allows you to write colored text in your terminal. It use the ANSI color system. To start using it, go to the out folder and then to the artifacts folder. You'll find a .jar file called "JCLR.jar". In IntelliJ, go to "File -> Project Structure -> Libraries" and click on the plus :
You have now JCLR installed in your project. To start using it, write this line of code in your Java class :
The main utilisation of this library is in the sout or System.out.println(); When you have to display something in the terminal and you want it coloured, the construction will be like this :
System.out.println(Color.YOURCOLOR + "Your String !");
The colors which can be used are available here below. All the colors which end with "_BG" are used to color the background of the text.