Enum Class StyleColor

java.lang.Object
java.lang.Enum<StyleColor>
org.jline.style.StyleColor
All Implemented Interfaces:
Serializable, Comparable<StyleColor>, Constable

@Deprecated public enum StyleColor extends Enum<StyleColor>
Deprecated.
Enumeration of named colors for use in styles.

This enum provides a comprehensive list of named colors that can be used in style specifications. Each color has an associated ANSI color code and an RGB hex value (shown in comments).

This class is deprecated in favor of Colors.rgbColor(String), which provides a more flexible way to specify colors using RGB values or X11 color names.

Example usage (not recommended due to deprecation):

 // Get the ANSI color code for a named color
 int code = StyleColor.red.code;  // 9
 
Since:
3.4