public class ForegroundColor extends Color
Modifier | Constructor and Description |
---|---|
protected |
ForegroundColor(java.lang.String asciiCode) |
Modifier and Type | Method and Description |
---|---|
static ForegroundColor |
getColorFrom256ColorSet(int i) |
static ForegroundColor |
getColorFromRGB(int r,
int g,
int b) |
BackgroundColor |
toBackgroundColor() |
getAsciiCode, isBackgroundColor, isForegroundColor, toString
public static final ForegroundColor BLACK
public static final ForegroundColor RED
public static final ForegroundColor GREEN
public static final ForegroundColor YELLOW
public static final ForegroundColor BLUE
public static final ForegroundColor MAGENTA
public static final ForegroundColor CYAN
public static final ForegroundColor WHITE
public static final ForegroundColor RESET
public static final ForegroundColor BLACK_BRIGHT
public static final ForegroundColor RED_BRIGHT
public static final ForegroundColor GREEN_BRIGHT
public static final ForegroundColor YELLOW_BRIGHT
public static final ForegroundColor BLUE_BRIGHT
public static final ForegroundColor MAGENTA_BRIGHT
public static final ForegroundColor CYAN_BRIGHT
public static final ForegroundColor WHITE_BRIGHT
public static final ForegroundColor RGB_RED
public static final ForegroundColor RGB_ORANGE
public static final ForegroundColor RGB_YELLOW
public static final ForegroundColor RGB_LIGHT_GREEN
public static final ForegroundColor RGB_GREEN
public static final ForegroundColor RGB_AQUA
public static final ForegroundColor RGB_LIGHT_BLUE
public static final ForegroundColor RGB_BLUE
public static final ForegroundColor RGB_MAGENTA
public static final ForegroundColor RGB_PINK
public static final ForegroundColor RGB_WHITE
public static final ForegroundColor RGB_BLACK
public static final ForegroundColor RGB_GRAY
public static final ForegroundColor[] COLORS
public static final ForegroundColor[] RGB_COLORS
public static ForegroundColor getColorFromRGB(int r, int g, int b)
public static ForegroundColor getColorFrom256ColorSet(int i)
public BackgroundColor toBackgroundColor()