Skip to content

ColoredConsole is a Java package designed to enhance console output by adding colored text and formatting options. With ColoredConsole, developers can easily incorporate eye-catching and visually appealing elements into their command-line applications.

Notifications You must be signed in to change notification settings

ranjit485/ColoredConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

accessibility text

ColoredConsole - Add colors to console

ColoredConsole is a Java package designed to enhance console output by adding colored text and formatting options.With ColoredConsole, you can easily add colors and formatting to your console output, making it more visually appealing and easier to read.

Features

  • Supports a wide range of colors, including:
    • Red
    • Green
    • Blue
    • Yellow
    • Cyan
    • Magenta
    • White
    • White
  • Allows applying formatting options such as bold and underline to the text.
  • Simple and intuitive API for easy integration into your Java projects.

Installation

To use ColoredConsole in your Java project, follow these steps:

  1. Download the ColoredConsole package
  2. Extract the downloaded package to a convenient location in your project directory.
  3. Import the 𝙲𝚘𝚗𝚜𝚘𝚕𝙲𝚘𝚕𝚘𝚛 class in your Java file:

  4. import static VerseMinds.ConsolColor;
  5. Start using ColoredConsole's methods to print colored output to the console:

  6. print("Hello World");
    println("Hello World");
    print("Hello World",ColorName);
    print("Hello World",BG_ColorName);
    print("Hello World",ColorName,BG_ColorName);

Usage

Here are some examples of how to use ColoredConsole Method's:

// FOR TEXT COLOR

println("Hello World",RED);
  
println("Hello World",BRIGHT_WHITE);
// FOR BACKGROUND COLOR

println("Hello World",BG_WHITE);
  
println("Hello World",BRIGHT_BG_WHITE);
// FOR BACKGROUND WITH TEXT COLOR

println("Hello World",BLACK,BG_YELLOW);

println("Hello World",BLACK,BRIGHT_BG_YELLOW);

Contributions

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the issue tracker or submit a pull request.

Contact

If you have any questions or inquiries, you can reach me at patilranjit485@gmail.com

Happy coding with ColoredConsole! Bye

About

ColoredConsole is a Java package designed to enhance console output by adding colored text and formatting options. With ColoredConsole, developers can easily incorporate eye-catching and visually appealing elements into their command-line applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published