Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| /* | |
| Paraphrased from RFC 4122: | |
| The formal definition of the UUID string representation is | |
| provided by the following ABNF: | |
| UUID = time-low "-" time-mid "-" | |
| time-high-and-version "-" | |
| clock-seq-and-reserved | |
| clock-seq-low "-" node |
| public class ConsoleColors { | |
| // Reset | |
| public static final String RESET = "\033[0m"; // Text Reset | |
| // Regular Colors | |
| public static final String BLACK = "\033[0;30m"; // BLACK | |
| public static final String RED = "\033[0;31m"; // RED | |
| public static final String GREEN = "\033[0;32m"; // GREEN | |
| public static final String YELLOW = "\033[0;33m"; // YELLOW | |
| public static final String BLUE = "\033[0;34m"; // BLUE |