Skip to content

Instantly share code, notes, and snippets.

@mgumiero9
Created June 28, 2016 01:34
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save mgumiero9/665ab5f0e5e7e46cb049c1544a00e29f to your computer and use it in GitHub Desktop.
Save mgumiero9/665ab5f0e5e7e46cb049c1544a00e29f to your computer and use it in GitHub Desktop.
public static final String ANSI_RESET = "\u001B[0m";
public static final String ANSI_BLACK = "\u001B[30m";
public static final String ANSI_RED = "\u001B[31m";
public static final String ANSI_GREEN = "\u001B[32m";
public static final String ANSI_LIGHT_YELLOW = "\u001B[93m";
public static final String ANSI_YELLOW = "\u001B[33m";
public static final String ANSI_YELLOW_BACKGROUND = "\u001B[43m";
public static final String ANSI_BLUE = "\u001B[34m";
public static final String ANSI_PURPLE = "\u001B[35m";
public static final String ANSI_CYAN = "\u001B[36m";
public static final String ANSI_WHITE = "\u001B[37m";
public static final String ANSI_BOLD = "\u001B[1m";
public static final String ANSI_UNBOLD = "\u001B[21m";
public static final String ANSI_UNDERLINE = "\u001B[4m";
public static final String ANSI_STOP_UNDERLINE = "\u001B[24m";
public static final String ANSI_BLINK = "\u001B[5m";
@PhineasNa
Copy link

PhineasNa commented Mar 20, 2022

I needed this thank you!

@arjanmalda
Copy link

🙏

@dlabaja
Copy link

dlabaja commented Jan 4, 2024

+rep

@LoganSwinson
Copy link

ANSI_UNBOLD should be "\u001B[22m"

@guiryassin
Copy link

respect++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment