From 48abd0b14090866f917bc842005c88d4b8a70bbd Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Sat, 17 Oct 2020 02:13:41 +0200 Subject: [PATCH] Changed KColors so that the documentation displays the color --- .../kotlin/net/axay/kspigot/chat/KColors.java | 881 ++++++++++++++++++ .../kotlin/net/axay/kspigot/chat/KColors.kt | 164 ---- 2 files changed, 881 insertions(+), 164 deletions(-) create mode 100644 src/main/kotlin/net/axay/kspigot/chat/KColors.java delete mode 100644 src/main/kotlin/net/axay/kspigot/chat/KColors.kt diff --git a/src/main/kotlin/net/axay/kspigot/chat/KColors.java b/src/main/kotlin/net/axay/kspigot/chat/KColors.java new file mode 100644 index 00000000..2cc96bac --- /dev/null +++ b/src/main/kotlin/net/axay/kspigot/chat/KColors.java @@ -0,0 +1,881 @@ +package net.axay.kspigot.chat; + +import net.md_5.bungee.api.ChatColor; + +import java.awt.*; + +@SuppressWarnings("unused") +public class KColors { + + // DEFAULT CODES + + public static final ChatColor MAGIC = ChatColor.MAGIC; + public static final ChatColor BOLD = ChatColor.BOLD; + public static final ChatColor STRIKETHROUGH = ChatColor.STRIKETHROUGH; + public static final ChatColor UNDERLINE = ChatColor.UNDERLINE; + public static final ChatColor ITALIC = ChatColor.ITALIC; + public static final ChatColor RESET = ChatColor.RESET; + + // DEFAULT COLORS + + /** + * The color dark blue with an RGB value of #0000AA + *


+ */ + public static final ChatColor DARKBLUE = ChatColor.DARK_BLUE; + + /** + * The color dark green with an RGB value of #00AA00 + *


+ */ + public static final ChatColor DARKGREEN = ChatColor.DARK_GREEN; + + /** + * The color dark aqua with an RGB value of #00AAAA + *


+ */ + public static final ChatColor DARKAQUA = ChatColor.DARK_AQUA; + + /** + * The color dark red with an RGB value of #AA0000 + *


+ */ + public static final ChatColor DARKRED = ChatColor.DARK_RED; + + /** + * The color dark purple with an RGB value of #AA00AA + *


+ */ + public static final ChatColor DARKPURPLE = ChatColor.DARK_PURPLE; + + /** + * The color gold with an RGB value of #FFAA00 + *


+ */ + public static final ChatColor GOLD = ChatColor.GOLD; + + /** + * The color gray with an RGB value of #AAAAAA + *


+ */ + public static final ChatColor GRAY = ChatColor.GRAY; + + /** + * The color dark gray with an RGB value of #555555 + *


+ */ + public static final ChatColor DARKGRAY = ChatColor.DARK_GRAY; + + /** + * The color blue with an RGB value of #5555FF + *


+ */ + public static final ChatColor BLUE = ChatColor.BLUE; + + /** + * The color green with an RGB value of #55FF55 + *


+ */ + public static final ChatColor GREEN = ChatColor.GREEN; + + /** + * The color aqua with an RGB value of #55FFFF + *


+ */ + public static final ChatColor AQUA = ChatColor.AQUA; + + /** + * The color red with an RGB value of #FF5555 + *


+ */ + public static final ChatColor RED = ChatColor.RED; + + /** + * The color light purple with an RGB value of #FF55FF + *


+ */ + public static final ChatColor LIGHTPURPLE = ChatColor.LIGHT_PURPLE; + + /** + * The color yellow with an RGB value of #FFFF55 + *


+ */ + public static final ChatColor YELLOW = ChatColor.YELLOW; + + /** + * The color white with an RGB value of #FFFFFF + *


+ */ + public static final ChatColor WHITE = ChatColor.WHITE; + + // ADDITIONAL COLORS + + /** + * The color alice blue with an RGB value of #F0F8FF + *


+ */ + public static final ChatColor ALICEBLUE = ChatColor.of(new Color(0.9411765f, 0.972549f, 1.0f)); + + /** + * The color antique white with an RGB value of #FAEBD7 + *


+ */ + public static final ChatColor ANTIQUEWHITE = ChatColor.of(new Color(0.98039216f, 0.92156863f, 0.84313726f)); + + /** + * The color aquamarine with an RGB value of #7FFFD4 + *


+ */ + public static final ChatColor AQUAMARINE = ChatColor.of(new Color(0.49803922f, 1.0f, 0.83137256f)); + + /** + * The color azure with an RGB value of #F0FFFF + *


+ */ + public static final ChatColor AZURE = ChatColor.of(new Color(0.9411765f, 1.0f, 1.0f)); + + /** + * The color beige with an RGB value of #F5F5DC + *


+ */ + public static final ChatColor BEIGE = ChatColor.of(new Color(0.9607843f, 0.9607843f, 0.8627451f)); + + /** + * The color bisque with an RGB value of #FFE4C4 + *


+ */ + public static final ChatColor BISQUE = ChatColor.of(new Color(1.0f, 0.89411765f, 0.76862746f)); + + /** + * The color black with an RGB value of #000000 + *


+ */ + public static final ChatColor BLACK = ChatColor.of(new Color(0.0f, 0.0f, 0.0f)); + + /** + * The color blanched almond with an RGB value of #FFEBCD + *


+ */ + public static final ChatColor BLANCHEDALMOND = ChatColor.of(new Color(1.0f, 0.92156863f, 0.8039216f)); + + /** + * The color blue violet with an RGB value of #8A2BE2 + *


+ */ + public static final ChatColor BLUEVIOLET = ChatColor.of(new Color(0.5411765f, 0.16862746f, 0.8862745f)); + + /** + * The color brown with an RGB value of #A52A2A + *


+ */ + public static final ChatColor BROWN = ChatColor.of(new Color(0.64705884f, 0.16470589f, 0.16470589f)); + + /** + * The color burly wood with an RGB value of #DEB887 + *


+ */ + public static final ChatColor BURLYWOOD = ChatColor.of(new Color(0.87058824f, 0.72156864f, 0.5294118f)); + + /** + * The color cadet blue with an RGB value of #5F9EA0 + *


+ */ + public static final ChatColor CADETBLUE = ChatColor.of(new Color(0.37254903f, 0.61960787f, 0.627451f)); + + /** + * The color chartreuse with an RGB value of #7FFF00 + *


+ */ + public static final ChatColor CHARTREUSE = ChatColor.of(new Color(0.49803922f, 1.0f, 0.0f)); + + /** + * The color chocolate with an RGB value of #D2691E + *


+ */ + public static final ChatColor CHOCOLATE = ChatColor.of(new Color(0.8235294f, 0.4117647f, 0.11764706f)); + + /** + * The color coral with an RGB value of #FF7F50 + *


+ */ + public static final ChatColor CORAL = ChatColor.of(new Color(1.0f, 0.49803922f, 0.3137255f)); + + /** + * The color cornflower blue with an RGB value of #6495ED + *


+ */ + public static final ChatColor CORNFLOWERBLUE = ChatColor.of(new Color(0.39215687f, 0.58431375f, 0.92941177f)); + + /** + * The color cornsilk with an RGB value of #FFF8DC + *


+ */ + public static final ChatColor CORNSILK = ChatColor.of(new Color(1.0f, 0.972549f, 0.8627451f)); + + /** + * The color crimson with an RGB value of #DC143C + *


+ */ + public static final ChatColor CRIMSON = ChatColor.of(new Color(0.8627451f, 0.078431375f, 0.23529412f)); + + /** + * The color cyan with an RGB value of #00FFFF + *


+ */ + public static final ChatColor CYAN = ChatColor.of(new Color(0.0f, 1.0f, 1.0f)); + + /** + * The color dark cyan with an RGB value of #008B8B + *


+ */ + public static final ChatColor DARKCYAN = ChatColor.of(new Color(0.0f, 0.54509807f, 0.54509807f)); + + /** + * The color dark goldenrod with an RGB value of #B8860B + *


+ */ + public static final ChatColor DARKGOLDENROD = ChatColor.of(new Color(0.72156864f, 0.5254902f, 0.043137256f)); + + /** + * The color dark khaki with an RGB value of #BDB76B + *


+ */ + public static final ChatColor DARKKHAKI = ChatColor.of(new Color(0.7411765f, 0.7176471f, 0.41960785f)); + + /** + * The color dark magenta with an RGB value of #8B008B + *


+ */ + public static final ChatColor DARKMAGENTA = ChatColor.of(new Color(0.54509807f, 0.0f, 0.54509807f)); + + /** + * The color dark olive green with an RGB value of #556B2F + *


+ */ + public static final ChatColor DARKOLIVEGREEN = ChatColor.of(new Color(0.33333334f, 0.41960785f, 0.18431373f)); + + /** + * The color dark orange with an RGB value of #FF8C00 + *


+ */ + public static final ChatColor DARKORANGE = ChatColor.of(new Color(1.0f, 0.54901963f, 0.0f)); + + /** + * The color dark orchid with an RGB value of #9932CC + *


+ */ + public static final ChatColor DARKORCHID = ChatColor.of(new Color(0.6f, 0.19607843f, 0.8f)); + + /** + * The color dark salmon with an RGB value of #E9967A + *


+ */ + public static final ChatColor DARKSALMON = ChatColor.of(new Color(0.9137255f, 0.5882353f, 0.47843137f)); + + /** + * The color dark sea green with an RGB value of #8FBC8F + *


+ */ + public static final ChatColor DARKSEAGREEN = ChatColor.of(new Color(0.56078434f, 0.7372549f, 0.56078434f)); + + /** + * The color dark slate blue with an RGB value of #483D8B + *


+ */ + public static final ChatColor DARKSLATEBLUE = ChatColor.of(new Color(0.28235295f, 0.23921569f, 0.54509807f)); + + /** + * The color dark slate gray with an RGB value of #2F4F4F + *


+ */ + public static final ChatColor DARKSLATEGRAY = ChatColor.of(new Color(0.18431373f, 0.30980393f, 0.30980393f)); + + /** + * The color dark turquoise with an RGB value of #00CED1 + *


+ */ + public static final ChatColor DARKTURQUOISE = ChatColor.of(new Color(0.0f, 0.80784315f, 0.81960785f)); + + /** + * The color dark violet with an RGB value of #9400D3 + *


+ */ + public static final ChatColor DARKVIOLET = ChatColor.of(new Color(0.5803922f, 0.0f, 0.827451f)); + + /** + * The color deep pink with an RGB value of #FF1493 + *


+ */ + public static final ChatColor DEEPPINK = ChatColor.of(new Color(1.0f, 0.078431375f, 0.5764706f)); + + /** + * The color deep sky blue with an RGB value of #00BFFF + *


+ */ + public static final ChatColor DEEPSKYBLUE = ChatColor.of(new Color(0.0f, 0.7490196f, 1.0f)); + + /** + * The color dim gray with an RGB value of #696969 + *


+ */ + public static final ChatColor DIMGRAY = ChatColor.of(new Color(0.4117647f, 0.4117647f, 0.4117647f)); + + /** + * The color dodger blue with an RGB value of #1E90FF + *


+ */ + public static final ChatColor DODGERBLUE = ChatColor.of(new Color(0.11764706f, 0.5647059f, 1.0f)); + + /** + * The color firebrick with an RGB value of #B22222 + *


+ */ + public static final ChatColor FIREBRICK = ChatColor.of(new Color(0.69803923f, 0.13333334f, 0.13333334f)); + + /** + * The color floral white with an RGB value of #FFFAF0 + *


+ */ + public static final ChatColor FLORALWHITE = ChatColor.of(new Color(1.0f, 0.98039216f, 0.9411765f)); + + /** + * The color forest green with an RGB value of #228B22 + *


+ */ + public static final ChatColor FORESTGREEN = ChatColor.of(new Color(0.13333334f, 0.54509807f, 0.13333334f)); + + /** + * The color fuchsia with an RGB value of #FF00FF + *


+ */ + public static final ChatColor FUCHSIA = ChatColor.of(new Color(1.0f, 0.0f, 1.0f)); + + /** + * The color gainsboro with an RGB value of #DCDCDC + *


+ */ + public static final ChatColor GAINSBORO = ChatColor.of(new Color(0.8627451f, 0.8627451f, 0.8627451f)); + + /** + * The color ghost white with an RGB value of #F8F8FF + *


+ */ + public static final ChatColor GHOSTWHITE = ChatColor.of(new Color(0.972549f, 0.972549f, 1.0f)); + + /** + * The color goldenrod with an RGB value of #DAA520 + *


+ */ + public static final ChatColor GOLDENROD = ChatColor.of(new Color(0.85490197f, 0.64705884f, 0.1254902f)); + + /** + * The color green yellow with an RGB value of #ADFF2F + *


+ */ + public static final ChatColor GREENYELLOW = ChatColor.of(new Color(0.6784314f, 1.0f, 0.18431373f)); + + /** + * The color honeydew with an RGB value of #F0FFF0 + *


+ */ + public static final ChatColor HONEYDEW = ChatColor.of(new Color(0.9411765f, 1.0f, 0.9411765f)); + + /** + * The color hot pink with an RGB value of #FF69B4 + *


+ */ + public static final ChatColor HOTPINK = ChatColor.of(new Color(1.0f, 0.4117647f, 0.7058824f)); + + /** + * The color indian red with an RGB value of #CD5C5C + *


+ */ + public static final ChatColor INDIANRED = ChatColor.of(new Color(0.8039216f, 0.36078432f, 0.36078432f)); + + /** + * The color indigo with an RGB value of #4B0082 + *


+ */ + public static final ChatColor INDIGO = ChatColor.of(new Color(0.29411766f, 0.0f, 0.50980395f)); + + /** + * The color ivory with an RGB value of #FFFFF0 + *


+ */ + public static final ChatColor IVORY = ChatColor.of(new Color(1.0f, 1.0f, 0.9411765f)); + + /** + * The color khaki with an RGB value of #F0E68C + *


+ */ + public static final ChatColor KHAKI = ChatColor.of(new Color(0.9411765f, 0.9019608f, 0.54901963f)); + + /** + * The color lavender with an RGB value of #E6E6FA + *


+ */ + public static final ChatColor LAVENDER = ChatColor.of(new Color(0.9019608f, 0.9019608f, 0.98039216f)); + + /** + * The color lavender blush with an RGB value of #FFF0F5 + *


+ */ + public static final ChatColor LAVENDERBLUSH = ChatColor.of(new Color(1.0f, 0.9411765f, 0.9607843f)); + + /** + * The color lawn green with an RGB value of #7CFC00 + *


+ */ + public static final ChatColor LAWNGREEN = ChatColor.of(new Color(0.4862745f, 0.9882353f, 0.0f)); + + /** + * The color lemon chiffon with an RGB value of #FFFACD + *


+ */ + public static final ChatColor LEMONCHIFFON = ChatColor.of(new Color(1.0f, 0.98039216f, 0.8039216f)); + + /** + * The color light blue with an RGB value of #ADD8E6 + *


+ */ + public static final ChatColor LIGHTBLUE = ChatColor.of(new Color(0.6784314f, 0.84705883f, 0.9019608f)); + + /** + * The color light coral with an RGB value of #F08080 + *


+ */ + public static final ChatColor LIGHTCORAL = ChatColor.of(new Color(0.9411765f, 0.5019608f, 0.5019608f)); + + /** + * The color light cyan with an RGB value of #E0FFFF + *


+ */ + public static final ChatColor LIGHTCYAN = ChatColor.of(new Color(0.8784314f, 1.0f, 1.0f)); + + /** + * The color light goldenrod yellow with an RGB value of #FAFAD2 + *


+ */ + public static final ChatColor LIGHTGOLDENRODYELLOW = ChatColor.of(new Color(0.98039216f, 0.98039216f, 0.8235294f)); + + /** + * The color light gray with an RGB value of #D3D3D3 + *


+ */ + public static final ChatColor LIGHTGRAY = ChatColor.of(new Color(0.827451f, 0.827451f, 0.827451f)); + + /** + * The color light green with an RGB value of #90EE90 + *


+ */ + public static final ChatColor LIGHTGREEN = ChatColor.of(new Color(0.5647059f, 0.93333334f, 0.5647059f)); + + /** + * The color light pink with an RGB value of #FFB6C1 + *


+ */ + public static final ChatColor LIGHTPINK = ChatColor.of(new Color(1.0f, 0.7137255f, 0.75686276f)); + + /** + * The color light salmon with an RGB value of #FFA07A + *


+ */ + public static final ChatColor LIGHTSALMON = ChatColor.of(new Color(1.0f, 0.627451f, 0.47843137f)); + + /** + * The color light sea green with an RGB value of #20B2AA + *


+ */ + public static final ChatColor LIGHTSEAGREEN = ChatColor.of(new Color(0.1254902f, 0.69803923f, 0.6666667f)); + + /** + * The color light sky blue with an RGB value of #87CEFA + *


+ */ + public static final ChatColor LIGHTSKYBLUE = ChatColor.of(new Color(0.5294118f, 0.80784315f, 0.98039216f)); + + /** + * The color light slate gray with an RGB value of #778899 + *


+ */ + public static final ChatColor LIGHTSLATEGRAY = ChatColor.of(new Color(0.46666667f, 0.53333336f, 0.6f)); + + /** + * The color light steel blue with an RGB value of #B0C4DE + *


+ */ + public static final ChatColor LIGHTSTEELBLUE = ChatColor.of(new Color(0.6901961f, 0.76862746f, 0.87058824f)); + + /** + * The color light yellow with an RGB value of #FFFFE0 + *


+ */ + public static final ChatColor LIGHTYELLOW = ChatColor.of(new Color(1.0f, 1.0f, 0.8784314f)); + + /** + * The color lime with an RGB value of #00FF00 + *


+ */ + public static final ChatColor LIME = ChatColor.of(new Color(0.0f, 1.0f, 0.0f)); + + /** + * The color lime green with an RGB value of #32CD32 + *


+ */ + public static final ChatColor LIMEGREEN = ChatColor.of(new Color(0.19607843f, 0.8039216f, 0.19607843f)); + + /** + * The color linen with an RGB value of #FAF0E6 + *


+ */ + public static final ChatColor LINEN = ChatColor.of(new Color(0.98039216f, 0.9411765f, 0.9019608f)); + + /** + * The color magenta with an RGB value of #FF00FF + *


+ */ + public static final ChatColor MAGENTA = ChatColor.of(new Color(1.0f, 0.0f, 1.0f)); + + /** + * The color maroon with an RGB value of #800000 + *


+ */ + public static final ChatColor MAROON = ChatColor.of(new Color(0.5019608f, 0.0f, 0.0f)); + + /** + * The color medium aquamarine with an RGB value of #66CDAA + *


+ */ + public static final ChatColor MEDIUMAQUAMARINE = ChatColor.of(new Color(0.4f, 0.8039216f, 0.6666667f)); + + /** + * The color medium blue with an RGB value of #0000CD + *


+ */ + public static final ChatColor MEDIUMBLUE = ChatColor.of(new Color(0.0f, 0.0f, 0.8039216f)); + + /** + * The color medium orchid with an RGB value of #BA55D3 + *


+ */ + public static final ChatColor MEDIUMORCHID = ChatColor.of(new Color(0.7294118f, 0.33333334f, 0.827451f)); + + /** + * The color medium purple with an RGB value of #9370DB + *


+ */ + public static final ChatColor MEDIUMPURPLE = ChatColor.of(new Color(0.5764706f, 0.4392157f, 0.85882354f)); + + /** + * The color medium sea green with an RGB value of #3CB371 + *


+ */ + public static final ChatColor MEDIUMSEAGREEN = ChatColor.of(new Color(0.23529412f, 0.7019608f, 0.44313726f)); + + /** + * The color medium slate blue with an RGB value of #7B68EE + *


+ */ + public static final ChatColor MEDIUMSLATEBLUE = ChatColor.of(new Color(0.48235294f, 0.40784314f, 0.93333334f)); + + /** + * The color medium spring green with an RGB value of #00FA9A + *


+ */ + public static final ChatColor MEDIUMSPRINGGREEN = ChatColor.of(new Color(0.0f, 0.98039216f, 0.6039216f)); + + /** + * The color medium turquoise with an RGB value of #48D1CC + *


+ */ + public static final ChatColor MEDIUMTURQUOISE = ChatColor.of(new Color(0.28235295f, 0.81960785f, 0.8f)); + + /** + * The color medium violet red with an RGB value of #C71585 + *


+ */ + public static final ChatColor MEDIUMVIOLETRED = ChatColor.of(new Color(0.78039217f, 0.08235294f, 0.52156866f)); + + /** + * The color midnight blue with an RGB value of #191970 + *


+ */ + public static final ChatColor MIDNIGHTBLUE = ChatColor.of(new Color(0.09803922f, 0.09803922f, 0.4392157f)); + + /** + * The color mint cream with an RGB value of #F5FFFA + *


+ */ + public static final ChatColor MINTCREAM = ChatColor.of(new Color(0.9607843f, 1.0f, 0.98039216f)); + + /** + * The color misty rose with an RGB value of #FFE4E1 + *


+ */ + public static final ChatColor MISTYROSE = ChatColor.of(new Color(1.0f, 0.89411765f, 0.88235295f)); + + /** + * The color moccasin with an RGB value of #FFE4B5 + *


+ */ + public static final ChatColor MOCCASIN = ChatColor.of(new Color(1.0f, 0.89411765f, 0.70980394f)); + + /** + * The color navajo white with an RGB value of #FFDEAD + *


+ */ + public static final ChatColor NAVAJOWHITE = ChatColor.of(new Color(1.0f, 0.87058824f, 0.6784314f)); + + /** + * The color navy with an RGB value of #000080 + *


+ */ + public static final ChatColor NAVY = ChatColor.of(new Color(0.0f, 0.0f, 0.5019608f)); + + /** + * The color old lace with an RGB value of #FDF5E6 + *


+ */ + public static final ChatColor OLDLACE = ChatColor.of(new Color(0.99215686f, 0.9607843f, 0.9019608f)); + + /** + * The color olive with an RGB value of #808000 + *


+ */ + public static final ChatColor OLIVE = ChatColor.of(new Color(0.5019608f, 0.5019608f, 0.0f)); + + /** + * The color olive drab with an RGB value of #6B8E23 + *


+ */ + public static final ChatColor OLIVEDRAB = ChatColor.of(new Color(0.41960785f, 0.5568628f, 0.13725491f)); + + /** + * The color orange with an RGB value of #FFA500 + *


+ */ + public static final ChatColor ORANGE = ChatColor.of(new Color(1.0f, 0.64705884f, 0.0f)); + + /** + * The color orange red with an RGB value of #FF4500 + *


+ */ + public static final ChatColor ORANGERED = ChatColor.of(new Color(1.0f, 0.27058825f, 0.0f)); + + /** + * The color orchid with an RGB value of #DA70D6 + *


+ */ + public static final ChatColor ORCHID = ChatColor.of(new Color(0.85490197f, 0.4392157f, 0.8392157f)); + + /** + * The color pale goldenrod with an RGB value of #EEE8AA + *


+ */ + public static final ChatColor PALEGOLDENROD = ChatColor.of(new Color(0.93333334f, 0.9098039f, 0.6666667f)); + + /** + * The color pale green with an RGB value of #98FB98 + *


+ */ + public static final ChatColor PALEGREEN = ChatColor.of(new Color(0.59607846f, 0.9843137f, 0.59607846f)); + + /** + * The color pale turquoise with an RGB value of #AFEEEE + *


+ */ + public static final ChatColor PALETURQUOISE = ChatColor.of(new Color(0.6862745f, 0.93333334f, 0.93333334f)); + + /** + * The color pale violet red with an RGB value of #DB7093 + *


+ */ + public static final ChatColor PALEVIOLETRED = ChatColor.of(new Color(0.85882354f, 0.4392157f, 0.5764706f)); + + /** + * The color papaya whip with an RGB value of #FFEFD5 + *


+ */ + public static final ChatColor PAPAYAWHIP = ChatColor.of(new Color(1.0f, 0.9372549f, 0.8352941f)); + + /** + * The color peach puff with an RGB value of #FFDAB9 + *


+ */ + public static final ChatColor PEACHPUFF = ChatColor.of(new Color(1.0f, 0.85490197f, 0.7254902f)); + + /** + * The color peru with an RGB value of #CD853F + *


+ */ + public static final ChatColor PERU = ChatColor.of(new Color(0.8039216f, 0.52156866f, 0.24705882f)); + + /** + * The color pink with an RGB value of #FFC0CB + *


+ */ + public static final ChatColor PINK = ChatColor.of(new Color(1.0f, 0.7529412f, 0.79607844f)); + + /** + * The color plum with an RGB value of #DDA0DD + *


+ */ + public static final ChatColor PLUM = ChatColor.of(new Color(0.8666667f, 0.627451f, 0.8666667f)); + + /** + * The color powder blue with an RGB value of #B0E0E6 + *


+ */ + public static final ChatColor POWDERBLUE = ChatColor.of(new Color(0.6901961f, 0.8784314f, 0.9019608f)); + + /** + * The color purple with an RGB value of #800080 + *


+ */ + public static final ChatColor PURPLE = ChatColor.of(new Color(0.5019608f, 0.0f, 0.5019608f)); + + /** + * The color rosy brown with an RGB value of #BC8F8F + *


+ */ + public static final ChatColor ROSYBROWN = ChatColor.of(new Color(0.7372549f, 0.56078434f, 0.56078434f)); + + /** + * The color royal blue with an RGB value of #4169E1 + *


+ */ + public static final ChatColor ROYALBLUE = ChatColor.of(new Color(0.25490198f, 0.4117647f, 0.88235295f)); + + /** + * The color saddle brown with an RGB value of #8B4513 + *


+ */ + public static final ChatColor SADDLEBROWN = ChatColor.of(new Color(0.54509807f, 0.27058825f, 0.07450981f)); + + /** + * The color salmon with an RGB value of #FA8072 + *


+ */ + public static final ChatColor SALMON = ChatColor.of(new Color(0.98039216f, 0.5019608f, 0.44705883f)); + + /** + * The color sandy brown with an RGB value of #F4A460 + *


+ */ + public static final ChatColor SANDYBROWN = ChatColor.of(new Color(0.95686275f, 0.6431373f, 0.3764706f)); + + /** + * The color sea green with an RGB value of #2E8B57 + *


+ */ + public static final ChatColor SEAGREEN = ChatColor.of(new Color(0.18039216f, 0.54509807f, 0.34117648f)); + + /** + * The color sea shell with an RGB value of #FFF5EE + *


+ */ + public static final ChatColor SEASHELL = ChatColor.of(new Color(1.0f, 0.9607843f, 0.93333334f)); + + /** + * The color sienna with an RGB value of #A0522D + *


+ */ + public static final ChatColor SIENNA = ChatColor.of(new Color(0.627451f, 0.32156864f, 0.1764706f)); + + /** + * The color silver with an RGB value of #C0C0C0 + *


+ */ + public static final ChatColor SILVER = ChatColor.of(new Color(0.7529412f, 0.7529412f, 0.7529412f)); + + /** + * The color sky blue with an RGB value of #87CEEB + *


+ */ + public static final ChatColor SKYBLUE = ChatColor.of(new Color(0.5294118f, 0.80784315f, 0.92156863f)); + + /** + * The color slate blue with an RGB value of #6A5ACD + *


+ */ + public static final ChatColor SLATEBLUE = ChatColor.of(new Color(0.41568628f, 0.3529412f, 0.8039216f)); + + /** + * The color slate gray with an RGB value of #708090 + *


+ */ + public static final ChatColor SLATEGRAY = ChatColor.of(new Color(0.4392157f, 0.5019608f, 0.5647059f)); + + /** + * The color snow with an RGB value of #FFFAFA + *


+ */ + public static final ChatColor SNOW = ChatColor.of(new Color(1.0f, 0.98039216f, 0.98039216f)); + + /** + * The color spring green with an RGB value of #00FF7F + *


+ */ + public static final ChatColor SPRINGGREEN = ChatColor.of(new Color(0.0f, 1.0f, 0.49803922f)); + + /** + * The color steel blue with an RGB value of #4682B4 + *


+ */ + public static final ChatColor STEELBLUE = ChatColor.of(new Color(0.27450982f, 0.50980395f, 0.7058824f)); + + /** + * The color tan with an RGB value of #D2B48C + *


+ */ + public static final ChatColor TAN = ChatColor.of(new Color(0.8235294f, 0.7058824f, 0.54901963f)); + + /** + * The color teal with an RGB value of #008080 + *


+ */ + public static final ChatColor TEAL = ChatColor.of(new Color(0.0f, 0.5019608f, 0.5019608f)); + + /** + * The color thistle with an RGB value of #D8BFD8 + *


+ */ + public static final ChatColor THISTLE = ChatColor.of(new Color(0.84705883f, 0.7490196f, 0.84705883f)); + + /** + * The color tomato with an RGB value of #FF6347 + *


+ */ + public static final ChatColor TOMATO = ChatColor.of(new Color(1.0f, 0.3882353f, 0.2784314f)); + + /** + * The color turquoise with an RGB value of #40E0D0 + *


+ */ + public static final ChatColor TURQUOISE = ChatColor.of(new Color(0.2509804f, 0.8784314f, 0.8156863f)); + + /** + * The color violet with an RGB value of #EE82EE + *


+ */ + public static final ChatColor VIOLET = ChatColor.of(new Color(0.93333334f, 0.50980395f, 0.93333334f)); + + /** + * The color wheat with an RGB value of #F5DEB3 + *


+ */ + public static final ChatColor WHEAT = ChatColor.of(new Color(0.9607843f, 0.87058824f, 0.7019608f)); + + /** + * The color white smoke with an RGB value of #F5F5F5 + *


+ */ + public static final ChatColor WHITESMOKE = ChatColor.of(new Color(0.9607843f, 0.9607843f, 0.9607843f)); + + /** + * The color yellow green with an RGB value of #9ACD32 + *


+ */ + public static final ChatColor YELLOWGREEN = ChatColor.of(new Color(0.6039216f, 0.8039216f, 0.19607843f)); + +} diff --git a/src/main/kotlin/net/axay/kspigot/chat/KColors.kt b/src/main/kotlin/net/axay/kspigot/chat/KColors.kt deleted file mode 100644 index 0658bcfd..00000000 --- a/src/main/kotlin/net/axay/kspigot/chat/KColors.kt +++ /dev/null @@ -1,164 +0,0 @@ -@file:Suppress("unused") - -package net.axay.kspigot.chat -import net.md_5.bungee.api.ChatColor -import java.awt.Color - -object KColors { - - // default codes - val MAGIC: ChatColor = ChatColor.MAGIC - val BOLD: ChatColor = ChatColor.BOLD - val STRIKETHROUGH: ChatColor = ChatColor.STRIKETHROUGH - val UNDERLINE: ChatColor = ChatColor.UNDERLINE - val ITALIC: ChatColor = ChatColor.ITALIC - val RESET: ChatColor = ChatColor.RESET - - // default chat colors - val DARKBLUE: ChatColor = ChatColor.DARK_BLUE - val DARKGREEN: ChatColor = ChatColor.DARK_GREEN - val DARKAQUA: ChatColor = ChatColor.DARK_AQUA - val DARKRED: ChatColor = ChatColor.DARK_RED - val DARKPURPLE: ChatColor = ChatColor.DARK_PURPLE - val GOLD: ChatColor = ChatColor.GOLD - val GRAY: ChatColor = ChatColor.GRAY - val DARKGRAY: ChatColor = ChatColor.DARK_GRAY - val BLUE: ChatColor = ChatColor.BLUE - val GREEN: ChatColor = ChatColor.GREEN - val AQUA: ChatColor = ChatColor.AQUA - val RED: ChatColor = ChatColor.RED - val LIGHTPURPLE: ChatColor = ChatColor.LIGHT_PURPLE - val YELLOW: ChatColor = ChatColor.YELLOW - val WHITE: ChatColor = ChatColor.WHITE - - // additional colors - val ALICEBLUE: ChatColor = ChatColor.of(Color(0.9411765f, 0.972549f, 1.0f)) - val ANTIQUEWHITE: ChatColor = ChatColor.of(Color(0.98039216f, 0.92156863f, 0.84313726f)) - val AQUAMARINE: ChatColor = ChatColor.of(Color(0.49803922f, 1.0f, 0.83137256f)) - val AZURE: ChatColor = ChatColor.of(Color(0.9411765f, 1.0f, 1.0f)) - val BEIGE: ChatColor = ChatColor.of(Color(0.9607843f, 0.9607843f, 0.8627451f)) - val BISQUE: ChatColor = ChatColor.of(Color(1.0f, 0.89411765f, 0.76862746f)) - val BLACK: ChatColor = ChatColor.of(Color(0.0f, 0.0f, 0.0f)) - val BLANCHEDALMOND: ChatColor = ChatColor.of(Color(1.0f, 0.92156863f, 0.8039216f)) - val BLUEVIOLET: ChatColor = ChatColor.of(Color(0.5411765f, 0.16862746f, 0.8862745f)) - val BROWN: ChatColor = ChatColor.of(Color(0.64705884f, 0.16470589f, 0.16470589f)) - val BURLYWOOD: ChatColor = ChatColor.of(Color(0.87058824f, 0.72156864f, 0.5294118f)) - val CADETBLUE: ChatColor = ChatColor.of(Color(0.37254903f, 0.61960787f, 0.627451f)) - val CHARTREUSE: ChatColor = ChatColor.of(Color(0.49803922f, 1.0f, 0.0f)) - val CHOCOLATE: ChatColor = ChatColor.of(Color(0.8235294f, 0.4117647f, 0.11764706f)) - val CORAL: ChatColor = ChatColor.of(Color(1.0f, 0.49803922f, 0.3137255f)) - val CORNFLOWERBLUE: ChatColor = ChatColor.of(Color(0.39215687f, 0.58431375f, 0.92941177f)) - val CORNSILK: ChatColor = ChatColor.of(Color(1.0f, 0.972549f, 0.8627451f)) - val CRIMSON: ChatColor = ChatColor.of(Color(0.8627451f, 0.078431375f, 0.23529412f)) - val CYAN: ChatColor = ChatColor.of(Color(0.0f, 1.0f, 1.0f)) - val DARKCYAN: ChatColor = ChatColor.of(Color(0.0f, 0.54509807f, 0.54509807f)) - val DARKGOLDENROD: ChatColor = ChatColor.of(Color(0.72156864f, 0.5254902f, 0.043137256f)) - val DARKKHAKI: ChatColor = ChatColor.of(Color(0.7411765f, 0.7176471f, 0.41960785f)) - val DARKMAGENTA: ChatColor = ChatColor.of(Color(0.54509807f, 0.0f, 0.54509807f)) - val DARKOLIVEGREEN: ChatColor = ChatColor.of(Color(0.33333334f, 0.41960785f, 0.18431373f)) - val DARKORANGE: ChatColor = ChatColor.of(Color(1.0f, 0.54901963f, 0.0f)) - val DARKORCHID: ChatColor = ChatColor.of(Color(0.6f, 0.19607843f, 0.8f)) - val DARKSALMON: ChatColor = ChatColor.of(Color(0.9137255f, 0.5882353f, 0.47843137f)) - val DARKSEAGREEN: ChatColor = ChatColor.of(Color(0.56078434f, 0.7372549f, 0.56078434f)) - val DARKSLATEBLUE: ChatColor = ChatColor.of(Color(0.28235295f, 0.23921569f, 0.54509807f)) - val DARKSLATEGRAY: ChatColor = ChatColor.of(Color(0.18431373f, 0.30980393f, 0.30980393f)) - val DARKTURQUOISE: ChatColor = ChatColor.of(Color(0.0f, 0.80784315f, 0.81960785f)) - val DARKVIOLET: ChatColor = ChatColor.of(Color(0.5803922f, 0.0f, 0.827451f)) - val DEEPPINK: ChatColor = ChatColor.of(Color(1.0f, 0.078431375f, 0.5764706f)) - val DEEPSKYBLUE: ChatColor = ChatColor.of(Color(0.0f, 0.7490196f, 1.0f)) - val DIMGRAY: ChatColor = ChatColor.of(Color(0.4117647f, 0.4117647f, 0.4117647f)) - val DODGERBLUE: ChatColor = ChatColor.of(Color(0.11764706f, 0.5647059f, 1.0f)) - val FIREBRICK: ChatColor = ChatColor.of(Color(0.69803923f, 0.13333334f, 0.13333334f)) - val FLORALWHITE: ChatColor = ChatColor.of(Color(1.0f, 0.98039216f, 0.9411765f)) - val FORESTGREEN: ChatColor = ChatColor.of(Color(0.13333334f, 0.54509807f, 0.13333334f)) - val FUCHSIA: ChatColor = ChatColor.of(Color(1.0f, 0.0f, 1.0f)) - val GAINSBORO: ChatColor = ChatColor.of(Color(0.8627451f, 0.8627451f, 0.8627451f)) - val GHOSTWHITE: ChatColor = ChatColor.of(Color(0.972549f, 0.972549f, 1.0f)) - val GOLDENROD: ChatColor = ChatColor.of(Color(0.85490197f, 0.64705884f, 0.1254902f)) - val GREENYELLOW: ChatColor = ChatColor.of(Color(0.6784314f, 1.0f, 0.18431373f)) - val HONEYDEW: ChatColor = ChatColor.of(Color(0.9411765f, 1.0f, 0.9411765f)) - val HOTPINK: ChatColor = ChatColor.of(Color(1.0f, 0.4117647f, 0.7058824f)) - val INDIANRED: ChatColor = ChatColor.of(Color(0.8039216f, 0.36078432f, 0.36078432f)) - val INDIGO: ChatColor = ChatColor.of(Color(0.29411766f, 0.0f, 0.50980395f)) - val IVORY: ChatColor = ChatColor.of(Color(1.0f, 1.0f, 0.9411765f)) - val KHAKI: ChatColor = ChatColor.of(Color(0.9411765f, 0.9019608f, 0.54901963f)) - val LAVENDER: ChatColor = ChatColor.of(Color(0.9019608f, 0.9019608f, 0.98039216f)) - val LAVENDERBLUSH: ChatColor = ChatColor.of(Color(1.0f, 0.9411765f, 0.9607843f)) - val LAWNGREEN: ChatColor = ChatColor.of(Color(0.4862745f, 0.9882353f, 0.0f)) - val LEMONCHIFFON: ChatColor = ChatColor.of(Color(1.0f, 0.98039216f, 0.8039216f)) - val LIGHTBLUE: ChatColor = ChatColor.of(Color(0.6784314f, 0.84705883f, 0.9019608f)) - val LIGHTCORAL: ChatColor = ChatColor.of(Color(0.9411765f, 0.5019608f, 0.5019608f)) - val LIGHTCYAN: ChatColor = ChatColor.of(Color(0.8784314f, 1.0f, 1.0f)) - val LIGHTGOLDENRODYELLOW: ChatColor = ChatColor.of(Color(0.98039216f, 0.98039216f, 0.8235294f)) - val LIGHTGRAY: ChatColor = ChatColor.of(Color(0.827451f, 0.827451f, 0.827451f)) - val LIGHTGREEN: ChatColor = ChatColor.of(Color(0.5647059f, 0.93333334f, 0.5647059f)) - val LIGHTPINK: ChatColor = ChatColor.of(Color(1.0f, 0.7137255f, 0.75686276f)) - val LIGHTSALMON: ChatColor = ChatColor.of(Color(1.0f, 0.627451f, 0.47843137f)) - val LIGHTSEAGREEN: ChatColor = ChatColor.of(Color(0.1254902f, 0.69803923f, 0.6666667f)) - val LIGHTSKYBLUE: ChatColor = ChatColor.of(Color(0.5294118f, 0.80784315f, 0.98039216f)) - val LIGHTSLATEGRAY: ChatColor = ChatColor.of(Color(0.46666667f, 0.53333336f, 0.6f)) - val LIGHTSTEELBLUE: ChatColor = ChatColor.of(Color(0.6901961f, 0.76862746f, 0.87058824f)) - val LIGHTYELLOW: ChatColor = ChatColor.of(Color(1.0f, 1.0f, 0.8784314f)) - val LIME: ChatColor = ChatColor.of(Color(0.0f, 1.0f, 0.0f)) - val LIMEGREEN: ChatColor = ChatColor.of(Color(0.19607843f, 0.8039216f, 0.19607843f)) - val LINEN: ChatColor = ChatColor.of(Color(0.98039216f, 0.9411765f, 0.9019608f)) - val MAGENTA: ChatColor = ChatColor.of(Color(1.0f, 0.0f, 1.0f)) - val MAROON: ChatColor = ChatColor.of(Color(0.5019608f, 0.0f, 0.0f)) - val MEDIUMAQUAMARINE: ChatColor = ChatColor.of(Color(0.4f, 0.8039216f, 0.6666667f)) - val MEDIUMBLUE: ChatColor = ChatColor.of(Color(0.0f, 0.0f, 0.8039216f)) - val MEDIUMORCHID: ChatColor = ChatColor.of(Color(0.7294118f, 0.33333334f, 0.827451f)) - val MEDIUMPURPLE: ChatColor = ChatColor.of(Color(0.5764706f, 0.4392157f, 0.85882354f)) - val MEDIUMSEAGREEN: ChatColor = ChatColor.of(Color(0.23529412f, 0.7019608f, 0.44313726f)) - val MEDIUMSLATEBLUE: ChatColor = ChatColor.of(Color(0.48235294f, 0.40784314f, 0.93333334f)) - val MEDIUMSPRINGGREEN: ChatColor = ChatColor.of(Color(0.0f, 0.98039216f, 0.6039216f)) - val MEDIUMTURQUOISE: ChatColor = ChatColor.of(Color(0.28235295f, 0.81960785f, 0.8f)) - val MEDIUMVIOLETRED: ChatColor = ChatColor.of(Color(0.78039217f, 0.08235294f, 0.52156866f)) - val MIDNIGHTBLUE: ChatColor = ChatColor.of(Color(0.09803922f, 0.09803922f, 0.4392157f)) - val MINTCREAM: ChatColor = ChatColor.of(Color(0.9607843f, 1.0f, 0.98039216f)) - val MISTYROSE: ChatColor = ChatColor.of(Color(1.0f, 0.89411765f, 0.88235295f)) - val MOCCASIN: ChatColor = ChatColor.of(Color(1.0f, 0.89411765f, 0.70980394f)) - val NAVAJOWHITE: ChatColor = ChatColor.of(Color(1.0f, 0.87058824f, 0.6784314f)) - val NAVY: ChatColor = ChatColor.of(Color(0.0f, 0.0f, 0.5019608f)) - val OLDLACE: ChatColor = ChatColor.of(Color(0.99215686f, 0.9607843f, 0.9019608f)) - val OLIVE: ChatColor = ChatColor.of(Color(0.5019608f, 0.5019608f, 0.0f)) - val OLIVEDRAB: ChatColor = ChatColor.of(Color(0.41960785f, 0.5568628f, 0.13725491f)) - val ORANGE: ChatColor = ChatColor.of(Color(1.0f, 0.64705884f, 0.0f)) - val ORANGERED: ChatColor = ChatColor.of(Color(1.0f, 0.27058825f, 0.0f)) - val ORCHID: ChatColor = ChatColor.of(Color(0.85490197f, 0.4392157f, 0.8392157f)) - val PALEGOLDENROD: ChatColor = ChatColor.of(Color(0.93333334f, 0.9098039f, 0.6666667f)) - val PALEGREEN: ChatColor = ChatColor.of(Color(0.59607846f, 0.9843137f, 0.59607846f)) - val PALETURQUOISE: ChatColor = ChatColor.of(Color(0.6862745f, 0.93333334f, 0.93333334f)) - val PALEVIOLETRED: ChatColor = ChatColor.of(Color(0.85882354f, 0.4392157f, 0.5764706f)) - val PAPAYAWHIP: ChatColor = ChatColor.of(Color(1.0f, 0.9372549f, 0.8352941f)) - val PEACHPUFF: ChatColor = ChatColor.of(Color(1.0f, 0.85490197f, 0.7254902f)) - val PERU: ChatColor = ChatColor.of(Color(0.8039216f, 0.52156866f, 0.24705882f)) - val PINK: ChatColor = ChatColor.of(Color(1.0f, 0.7529412f, 0.79607844f)) - val PLUM: ChatColor = ChatColor.of(Color(0.8666667f, 0.627451f, 0.8666667f)) - val POWDERBLUE: ChatColor = ChatColor.of(Color(0.6901961f, 0.8784314f, 0.9019608f)) - val PURPLE: ChatColor = ChatColor.of(Color(0.5019608f, 0.0f, 0.5019608f)) - val ROSYBROWN: ChatColor = ChatColor.of(Color(0.7372549f, 0.56078434f, 0.56078434f)) - val ROYALBLUE: ChatColor = ChatColor.of(Color(0.25490198f, 0.4117647f, 0.88235295f)) - val SADDLEBROWN: ChatColor = ChatColor.of(Color(0.54509807f, 0.27058825f, 0.07450981f)) - val SALMON: ChatColor = ChatColor.of(Color(0.98039216f, 0.5019608f, 0.44705883f)) - val SANDYBROWN: ChatColor = ChatColor.of(Color(0.95686275f, 0.6431373f, 0.3764706f)) - val SEAGREEN: ChatColor = ChatColor.of(Color(0.18039216f, 0.54509807f, 0.34117648f)) - val SEASHELL: ChatColor = ChatColor.of(Color(1.0f, 0.9607843f, 0.93333334f)) - val SIENNA: ChatColor = ChatColor.of(Color(0.627451f, 0.32156864f, 0.1764706f)) - val SILVER: ChatColor = ChatColor.of(Color(0.7529412f, 0.7529412f, 0.7529412f)) - val SKYBLUE: ChatColor = ChatColor.of(Color(0.5294118f, 0.80784315f, 0.92156863f)) - val SLATEBLUE: ChatColor = ChatColor.of(Color(0.41568628f, 0.3529412f, 0.8039216f)) - val SLATEGRAY: ChatColor = ChatColor.of(Color(0.4392157f, 0.5019608f, 0.5647059f)) - val SNOW: ChatColor = ChatColor.of(Color(1.0f, 0.98039216f, 0.98039216f)) - val SPRINGGREEN: ChatColor = ChatColor.of(Color(0.0f, 1.0f, 0.49803922f)) - val STEELBLUE: ChatColor = ChatColor.of(Color(0.27450982f, 0.50980395f, 0.7058824f)) - val TAN: ChatColor = ChatColor.of(Color(0.8235294f, 0.7058824f, 0.54901963f)) - val TEAL: ChatColor = ChatColor.of(Color(0.0f, 0.5019608f, 0.5019608f)) - val THISTLE: ChatColor = ChatColor.of(Color(0.84705883f, 0.7490196f, 0.84705883f)) - val TOMATO: ChatColor = ChatColor.of(Color(1.0f, 0.3882353f, 0.2784314f)) - val TURQUOISE: ChatColor = ChatColor.of(Color(0.2509804f, 0.8784314f, 0.8156863f)) - val VIOLET: ChatColor = ChatColor.of(Color(0.93333334f, 0.50980395f, 0.93333334f)) - val WHEAT: ChatColor = ChatColor.of(Color(0.9607843f, 0.87058824f, 0.7019608f)) - val WHITESMOKE: ChatColor = ChatColor.of(Color(0.9607843f, 0.9607843f, 0.9607843f)) - val YELLOWGREEN: ChatColor = ChatColor.of(Color(0.6039216f, 0.8039216f, 0.19607843f)) - -} \ No newline at end of file