Skip to content

skn437/skn-java-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKN Java Color Library

java

Java

Maven Central Javadoc Apache License 2.0

 

JavaDocs:

Read the Javadoc for the main API: Color API

 

Introduction:

This is a simple Java Library for colored text output in console

I made this library so that I can use it in all of my java projects without writing the same codes over and over again

The main API Class of this library is Color which holds 16 static methods for 8 different colors

 

Details:

Color Class:

  • It doesn't need to be instantiated
  • It has 16 static methods for 8 different colors
  • The colors are:
    • Black
    • Red
    • Green
    • Yellow
    • Blue
    • Purple
    • Cyan
    • White

 

Use Case:

  • Java
  • Java Spring Boot

 

Requirements:

  • 💀 Minimum Java Version: 21
  • 💀 Minimum Maven Version: 3.9.6

 

Usage:

For Maven, inside dependencies tag of pom.xml, copy the following

<dependency>
 <groupId>best.skn</groupId>
 <artifactId>skn-java-color</artifactId>
 <version>1.3.2</version>
</dependency>

Write the following in the terminal

mvn install

Inside your Java Code, import the package like this

import best.skn.utils.color.Color;

For instructions for Gradle & others: Visit Maven Central

 

Dedicated To:

  • 👩‍🎨Prodipta Das Logno & 🧛‍♀️Atoshi Sarker Prithula: The two most special ladies of my life. I can't thank them enough for always treasuring me a lot. I am lucky that I met with these two amazing ladies. They have two special places in my heart and no other girl can ever replace them.
  • 💯My Parents: The greatest treasures of my life ever.