mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
Add the Background color class
This commit is contained in:
parent
6964d000dd
commit
69624421ac
1 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
|||
package com.anas.jcolorfulconsole.color;
|
||||
|
||||
public class BackgroundColor extends ASCIIColor {
|
||||
|
||||
public static final BackgroundColor DARK_BLACK = new BackgroundColor((short)40);
|
||||
public static final BackgroundColor DARK_RED = new BackgroundColor((short)41);
|
||||
public static final BackgroundColor DARK_GREEN = new BackgroundColor((short)42);
|
||||
public static final BackgroundColor DARK_YELLOW = new BackgroundColor((short)43);
|
||||
public static final BackgroundColor DARK_BLUE = new BackgroundColor((short)44);
|
||||
public static final BackgroundColor DARK_MAGENTA = new BackgroundColor((short)45);
|
||||
public static final BackgroundColor DARK_CYAN = new BackgroundColor((short)46);
|
||||
public static final BackgroundColor DARK_WHITE = new BackgroundColor((short)7);
|
||||
public static final BackgroundColor DARK_GRAY = new BackgroundColor((short)47);
|
||||
|
||||
|
||||
public static final BackgroundColor LIGHT_BLACK = new BackgroundColor((short)100);
|
||||
public static final BackgroundColor LIGHT_RED = new BackgroundColor((short)101);
|
||||
public static final BackgroundColor LIGHT_GREEN = new BackgroundColor((short)102);
|
||||
public static final BackgroundColor LIGHT_YELLOW = new BackgroundColor((short)103);
|
||||
public static final BackgroundColor LIGHT_BLUE = new BackgroundColor((short)104);
|
||||
public static final BackgroundColor LIGHT_MAGENTA = new BackgroundColor((short)105);
|
||||
public static final BackgroundColor LIGHT_CYAN = new BackgroundColor((short)106);
|
||||
public static final BackgroundColor LIGHT_WHITE = new BackgroundColor((short)7);
|
||||
public static final BackgroundColor LIGHT_GRAY = new BackgroundColor((short)107);
|
||||
|
||||
protected BackgroundColor(short code) {
|
||||
super(code);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue