public final class Palette
extends java.lang.Object
Colors. Some colors
here are duplicates, and there are also aliases to part of the group of 50 for convenience. All colors are defined as
RGBA8888 ints with extensive JavaDocs.| Modifier and Type | Field and Description |
|---|---|
static com.badlogic.gdx.utils.ObjectIntMap<java.lang.String> |
ALIASES
|
static int |
apricot
This color constant "apricot" has RGBA8888 code
FFA828FF, R 1.0, G 0.65882355, B 0.15686275, A 1.0, hue 0.09922481, saturation 0.84313726, and lightness 0.57843137. |
static int |
black
This color constant "black" has RGBA8888 code
000000FF, R 0.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 0.0, and lightness 0.0. |
static int |
BLACK
This color constant "BLACK" has RGBA8888 code
000000FF, R 0.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 0.0, and lightness 0.0. |
static int |
blue
This color constant "blue" has RGBA8888 code
0000FFFF, R 0.0, G 0.0, B 1.0, A 1.0, hue 0.6666667, saturation 1.0, and lightness 0.5. |
static int |
BLUE
This color constant "BLUE" has RGBA8888 code
0000FFFF, R 0.0, G 0.0, B 1.0, A 1.0, hue 0.6666667, saturation 1.0, and lightness 0.5. |
static int |
brick
This color constant "brick" has RGBA8888 code
D5524AFF, R 0.8352941, G 0.32156864, B 0.2901961, A 1.0, hue 0.009592325, saturation 0.54509807, and lightness 0.5627451. |
static int |
bronze
This color constant "bronze" has RGBA8888 code
CE8E31FF, R 0.80784315, G 0.5568628, B 0.19215687, A 1.0, hue 0.09872612, saturation 0.6156863, and lightness 0.49999997. |
static int |
brown
This color constant "brown" has RGBA8888 code
8F573BFF, R 0.56078434, G 0.34117648, B 0.23137255, A 1.0, hue 0.055555552, saturation 0.3294118, and lightness 0.39607844. |
static int |
BROWN
This color constant "BROWN" has RGBA8888 code
8B4513FF, R 0.54509807, G 0.27058825, B 0.07450981, A 1.0, hue 0.06944444, saturation 0.47058827, and lightness 0.30980393. |
static int |
butter
This color constant "butter" has RGBA8888 code
FFF288FF, R 1.0, G 0.9490196, B 0.53333336, A 1.0, hue 0.14845939, saturation 0.46666664, and lightness 0.76666665. |
static int |
cactus
This color constant "cactus" has RGBA8888 code
30A000FF, R 0.1882353, G 0.627451, B 0.0, A 1.0, hue 0.28333336, saturation 0.627451, and lightness 0.3137255. |
static int |
celery
This color constant "celery" has RGBA8888 code
7DFF73FF, R 0.49019608, G 1.0, B 0.4509804, A 1.0, hue 0.32142857, saturation 0.5490196, and lightness 0.7254902. |
static int |
chartreuse
This color constant "chartreuse" has RGBA8888 code
C8FF41FF, R 0.78431374, G 1.0, B 0.25490198, A 1.0, hue 0.21491227, saturation 0.745098, and lightness 0.627451. |
static int |
CHARTREUSE
This color constant "CHARTREUSE" has RGBA8888 code
7FFF00FF, R 0.49803922, G 1.0, B 0.0, A 1.0, hue 0.2503268, saturation 1.0, and lightness 0.5. |
static int |
chocolate
This color constant "chocolate" has RGBA8888 code
683818FF, R 0.40784314, G 0.21960784, B 0.09411765, A 1.0, hue 0.066666655, saturation 0.3137255, and lightness 0.25098038. |
static int |
cinnamon
This color constant "cinnamon" has RGBA8888 code
D2691DFF, R 0.8235294, G 0.4117647, B 0.11372549, A 1.0, hue 0.06998159, saturation 0.70980394, and lightness 0.46862742. |
static int |
CLEAR
This color constant "CLEAR" has RGBA8888 code
00000000, R 0.0, G 0.0, B 0.0, A 0.0, hue 0.0, saturation 0.0, and lightness 0.0. |
static int |
cobalt
This color constant "cobalt" has RGBA8888 code
0046ABFF, R 0.0, G 0.27450982, B 0.67058825, A 1.0, hue 0.5984406, saturation 0.67058825, and lightness 0.33529413. |
static int |
CORAL
This color constant "CORAL" has RGBA8888 code
FF7F50FF, R 1.0, G 0.49803922, B 0.3137255, A 1.0, hue 0.0447619, saturation 0.6862745, and lightness 0.65686274. |
static int |
cyan
This color constant "cyan" has RGBA8888 code
00FFFFFF, R 0.0, G 1.0, B 1.0, A 1.0, hue 0.5, saturation 1.0, and lightness 0.5. |
static int |
CYAN
This color constant "CYAN" has RGBA8888 code
00FFFFFF, R 0.0, G 1.0, B 1.0, A 1.0, hue 0.5, saturation 1.0, and lightness 0.5. |
static int |
DARK_GRAY
This color constant "DARK_GRAY" has RGBA8888 code
3F3F3FFF, R 0.24705882, G 0.24705882, B 0.24705882, A 1.0, hue 0.0, saturation 0.0, and lightness 0.24705882. |
static int |
denim
This color constant "denim" has RGBA8888 code
3088B8FF, R 0.1882353, G 0.53333336, B 0.72156864, A 1.0, hue 0.5588235, saturation 0.53333336, and lightness 0.45490196. |
static int |
ember
This color constant "ember" has RGBA8888 code
F55A32FF, R 0.9607843, G 0.3529412, B 0.19607843, A 1.0, hue 0.034188036, saturation 0.7647059, and lightness 0.5784313. |
static int |
fern
This color constant "fern" has RGBA8888 code
4E7942FF, R 0.30588236, G 0.4745098, B 0.25882354, A 1.0, hue 0.2969697, saturation 0.21568626, and lightness 0.36666664. |
static int |
FIREBRICK
This color constant "FIREBRICK" has RGBA8888 code
B22222FF, R 0.69803923, G 0.13333334, B 0.13333334, A 1.0, hue 0.0, saturation 0.5647059, and lightness 0.41568628. |
static int |
FOREST
This color constant "FOREST" has RGBA8888 code
228B22FF, R 0.13333334, G 0.54509807, B 0.13333334, A 1.0, hue 0.33333334, saturation 0.41176474, and lightness 0.33921573. |
static int |
GOLD
This color constant "GOLD" has RGBA8888 code
FFD700FF, R 1.0, G 0.84313726, B 0.0, A 1.0, hue 0.14052288, saturation 1.0, and lightness 0.5. |
static int |
GOLDENROD
This color constant "GOLDENROD" has RGBA8888 code
DAA520FF, R 0.85490197, G 0.64705884, B 0.1254902, A 1.0, hue 0.119175635, saturation 0.7294118, and lightness 0.49019608. |
static int |
gray
This color constant "gray" has RGBA8888 code
808080FF, R 0.5019608, G 0.5019608, B 0.5019608, A 1.0, hue 0.0, saturation 0.0, and lightness 0.5019608. |
static int |
GRAY
This color constant "GRAY" has RGBA8888 code
7F7F7FFF, R 0.49803922, G 0.49803922, B 0.49803922, A 1.0, hue 0.0, saturation 0.0, and lightness 0.49803922. |
static int |
green
This color constant "green" has RGBA8888 code
00FF00FF, R 0.0, G 1.0, B 0.0, A 1.0, hue 0.33333334, saturation 1.0, and lightness 0.5. |
static int |
GREEN
This color constant "GREEN" has RGBA8888 code
00FF00FF, R 0.0, G 1.0, B 0.0, A 1.0, hue 0.33333334, saturation 1.0, and lightness 0.5. |
static int |
indigo
This color constant "indigo" has RGBA8888 code
520FE0FF, R 0.32156864, G 0.05882353, B 0.8784314, A 1.0, hue 0.7200957, saturation 0.81960785, and lightness 0.46862745. |
static int |
jade
This color constant "jade" has RGBA8888 code
3FBF3FFF, R 0.24705882, G 0.7490196, B 0.24705882, A 1.0, hue 0.33333334, saturation 0.5019608, and lightness 0.49803922. |
static int |
lavender
This color constant "lavender" has RGBA8888 code
B991FFFF, R 0.7254902, G 0.5686275, B 1.0, A 1.0, hue 0.72727275, saturation 0.43137252, and lightness 0.78431374. |
static int |
LIGHT_GRAY
This color constant "LIGHT_GRAY" has RGBA8888 code
BFBFBFFF, R 0.7490196, G 0.7490196, B 0.7490196, A 1.0, hue 0.0, saturation 0.0, and lightness 0.7490196. |
static int |
lime
This color constant "lime" has RGBA8888 code
93D300FF, R 0.5764706, G 0.827451, B 0.0, A 1.0, hue 0.21721959, saturation 0.827451, and lightness 0.4137255. |
static int |
LIME
This color constant "LIME" has RGBA8888 code
32CD32FF, R 0.19607843, G 0.8039216, B 0.19607843, A 1.0, hue 0.33333334, saturation 0.60784316, and lightness 0.5. |
static com.badlogic.gdx.utils.IntArray |
LIST |
static int |
magenta
This color constant "magenta" has RGBA8888 code
F500F5FF, R 0.9607843, G 0.0, B 0.9607843, A 1.0, hue 0.8333333, saturation 0.9607843, and lightness 0.48039216. |
static int |
MAGENTA
This color constant "MAGENTA" has RGBA8888 code
FF00FFFF, R 1.0, G 0.0, B 1.0, A 1.0, hue 0.8333333, saturation 1.0, and lightness 0.5. |
static int |
MAROON
This color constant "MAROON" has RGBA8888 code
B03060FF, R 0.6901961, G 0.1882353, B 0.3764706, A 1.0, hue 0.9375, saturation 0.5019608, and lightness 0.4392157. |
static int |
mauve
This color constant "mauve" has RGBA8888 code
AB73ABFF, R 0.67058825, G 0.4509804, B 0.67058825, A 1.0, hue 0.8333334, saturation 0.21960786, and lightness 0.56078434. |
static int |
mint
This color constant "mint" has RGBA8888 code
7FFFD4FF, R 0.49803922, G 1.0, B 0.83137256, A 1.0, hue 0.44401044, saturation 0.50196075, and lightness 0.7490196. |
static int |
moss
This color constant "moss" has RGBA8888 code
204608FF, R 0.1254902, G 0.27450982, B 0.03137255, A 1.0, hue 0.26881722, saturation 0.24313727, and lightness 0.15294118. |
static com.badlogic.gdx.utils.ObjectIntMap<java.lang.String> |
NAMED |
static com.badlogic.gdx.utils.Array<java.lang.String> |
NAMES
All names for colors in this palette, in alphabetical order.
|
static int |
navy
This color constant "navy" has RGBA8888 code
000080FF, R 0.0, G 0.0, B 0.5019608, A 1.0, hue 0.6666667, saturation 0.5019608, and lightness 0.2509804. |
static int |
NAVY
This color constant "NAVY" has RGBA8888 code
00007FFF, R 0.0, G 0.0, B 0.49803922, A 1.0, hue 0.6666667, saturation 0.49803922, and lightness 0.24901961. |
static int |
olive
This color constant "olive" has RGBA8888 code
818000FF, R 0.5058824, G 0.5019608, B 0.0, A 1.0, hue 0.16537468, saturation 0.5058824, and lightness 0.2529412. |
static int |
OLIVE
This color constant "OLIVE" has RGBA8888 code
6B8E23FF, R 0.41960785, G 0.5568628, B 0.13725491, A 1.0, hue 0.22118384, saturation 0.41960788, and lightness 0.34705883. |
static int |
orange
This color constant "orange" has RGBA8888 code
FF7F00FF, R 1.0, G 0.49803922, B 0.0, A 1.0, hue 0.08300654, saturation 1.0, and lightness 0.5. |
static int |
ORANGE
This color constant "ORANGE" has RGBA8888 code
FFA500FF, R 1.0, G 0.64705884, B 0.0, A 1.0, hue 0.10784314, saturation 1.0, and lightness 0.5. |
static int |
peach
This color constant "peach" has RGBA8888 code
FFBF81FF, R 1.0, G 0.7490196, B 0.5058824, A 1.0, hue 0.08201058, saturation 0.49411762, and lightness 0.7529412. |
static int |
pear
This color constant "pear" has RGBA8888 code
D3E330FF, R 0.827451, G 0.8901961, B 0.1882353, A 1.0, hue 0.18156426, saturation 0.7019608, and lightness 0.5392157. |
static int |
pink
This color constant "pink" has RGBA8888 code
FFA0E0FF, R 1.0, G 0.627451, B 0.8784314, A 1.0, hue 0.8877193, saturation 0.372549, and lightness 0.8137255. |
static int |
PINK
This color constant "PINK" has RGBA8888 code
FF69B4FF, R 1.0, G 0.4117647, B 0.7058824, A 1.0, hue 0.9166666, saturation 0.58823526, and lightness 0.7058824. |
static int |
plum
This color constant "plum" has RGBA8888 code
BE0DC6FF, R 0.74509805, G 0.050980393, B 0.7764706, A 1.0, hue 0.82612616, saturation 0.7254902, and lightness 0.4137255. |
static int |
purple
This color constant "purple" has RGBA8888 code
C000FFFF, R 0.7529412, G 0.0, B 1.0, A 1.0, hue 0.7921569, saturation 1.0, and lightness 0.5. |
static int |
PURPLE
This color constant "PURPLE" has RGBA8888 code
A020F0FF, R 0.627451, G 0.1254902, B 0.9411765, A 1.0, hue 0.7692308, saturation 0.8156863, and lightness 0.53333336. |
static int |
raspberry
This color constant "raspberry" has RGBA8888 code
911437FF, R 0.5686275, G 0.078431375, B 0.21568628, A 1.0, hue 0.9533333, saturation 0.4901961, and lightness 0.32352945. |
static int |
red
This color constant "red" has RGBA8888 code
FF0000FF, R 1.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 1.0, and lightness 0.5. |
static int |
RED
This color constant "RED" has RGBA8888 code
FF0000FF, R 1.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 1.0, and lightness 0.5. |
static int |
rose
This color constant "rose" has RGBA8888 code
E61E78FF, R 0.9019608, G 0.11764706, B 0.47058824, A 1.0, hue 0.925, saturation 0.78431374, and lightness 0.5098039. |
static int |
ROYAL
This color constant "ROYAL" has RGBA8888 code
4169E1FF, R 0.25490198, G 0.4117647, B 0.88235295, A 1.0, hue 0.625, saturation 0.62745094, and lightness 0.5686275. |
static int |
saffron
This color constant "saffron" has RGBA8888 code
FFD510FF, R 1.0, G 0.8352941, B 0.0627451, A 1.0, hue 0.13737796, saturation 0.9372549, and lightness 0.53137255. |
static int |
sage
This color constant "sage" has RGBA8888 code
ABE3C5FF, R 0.67058825, G 0.8901961, B 0.77254903, A 1.0, hue 0.4107143, saturation 0.21960783, and lightness 0.78039217. |
static int |
salmon
This color constant "salmon" has RGBA8888 code
FF6262FF, R 1.0, G 0.38431373, B 0.38431373, A 1.0, hue 0.0, saturation 0.6156863, and lightness 0.69215685. |
static int |
SALMON
This color constant "SALMON" has RGBA8888 code
FA8072FF, R 0.98039216, G 0.5019608, B 0.44705883, A 1.0, hue 0.017156873, saturation 0.5333333, and lightness 0.7137255. |
static int |
SCARLET
This color constant "SCARLET" has RGBA8888 code
FF341CFF, R 1.0, G 0.20392157, B 0.10980392, A 1.0, hue 0.017621147, saturation 0.8901961, and lightness 0.55490196. |
static int |
silver
This color constant "silver" has RGBA8888 code
B6B6B6FF, R 0.7137255, G 0.7137255, B 0.7137255, A 1.0, hue 0.0, saturation 0.0, and lightness 0.7137255. |
static int |
sky
This color constant "sky" has RGBA8888 code
10C0E0FF, R 0.0627451, G 0.7529412, B 0.8784314, A 1.0, hue 0.5256411, saturation 0.8156863, and lightness 0.47058824. |
static int |
SKY
This color constant "SKY" has RGBA8888 code
87CEEBFF, R 0.5294118, G 0.80784315, B 0.92156863, A 1.0, hue 0.54833335, saturation 0.39215684, and lightness 0.7254902. |
static int |
SLATE
This color constant "SLATE" has RGBA8888 code
708090FF, R 0.4392157, G 0.5019608, B 0.5647059, A 1.0, hue 0.5833333, saturation 0.12549022, and lightness 0.5019608. |
static int |
tan
This color constant "tan" has RGBA8888 code
D2B48CFF, R 0.8235294, G 0.7058824, B 0.54901963, A 1.0, hue 0.0952381, saturation 0.2745098, and lightness 0.6862745. |
static int |
TAN
This color constant "TAN" has RGBA8888 code
D2B48CFF, R 0.8235294, G 0.7058824, B 0.54901963, A 1.0, hue 0.0952381, saturation 0.2745098, and lightness 0.6862745. |
static int |
teal
This color constant "teal" has RGBA8888 code
007F7FFF, R 0.0, G 0.49803922, B 0.49803922, A 1.0, hue 0.5, saturation 0.49803922, and lightness 0.24901961. |
static int |
TEAL
This color constant "TEAL" has RGBA8888 code
007F7FFF, R 0.0, G 0.49803922, B 0.49803922, A 1.0, hue 0.5, saturation 0.49803922, and lightness 0.24901961. |
static int |
transparent
This color constant "transparent" has RGBA8888 code
00000000, R 0.0, G 0.0, B 0.0, A 0.0, hue 0.0, saturation 0.0, and lightness 0.0. |
static int |
turquoise
This color constant "turquoise" has RGBA8888 code
2ED6C9FF, R 0.18039216, G 0.8392157, B 0.7882353, A 1.0, hue 0.48710316, saturation 0.65882355, and lightness 0.5098039. |
static int |
violet
This color constant "violet" has RGBA8888 code
9040EFFF, R 0.5647059, G 0.2509804, B 0.9372549, A 1.0, hue 0.74285716, saturation 0.6862745, and lightness 0.59411764. |
static int |
VIOLET
This color constant "VIOLET" has RGBA8888 code
EE82EEFF, R 0.93333334, G 0.50980395, B 0.93333334, A 1.0, hue 0.8333333, saturation 0.4235294, and lightness 0.72156864. |
static int |
white
This color constant "white" has RGBA8888 code
FFFFFFFF, R 1.0, G 1.0, B 1.0, A 1.0, hue 0.0, saturation 0.0, and lightness 1.0. |
static int |
WHITE
This color constant "WHITE" has RGBA8888 code
FFFFFFFF, R 1.0, G 1.0, B 1.0, A 1.0, hue 0.0, saturation 0.0, and lightness 1.0. |
static int |
yellow
This color constant "yellow" has RGBA8888 code
FFFF00FF, R 1.0, G 1.0, B 0.0, A 1.0, hue 0.16666667, saturation 1.0, and lightness 0.5. |
static int |
YELLOW
This color constant "YELLOW" has RGBA8888 code
FFFF00FF, R 1.0, G 1.0, B 0.0, A 1.0, hue 0.16666667, saturation 1.0, and lightness 0.5. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addColor(java.lang.String name,
int rgba8888)
Modifies the Palette by adding a color with its name.
|
static void |
appendToKnownColors()
Appends standard RGBA Color instances to the map in
Colors, using the names in NAMES (which
are either "lowercased" instead of "ALL_UPPER_CASE", or are already present in Colors). |
public static final com.badlogic.gdx.utils.ObjectIntMap<java.lang.String> ALIASES
NAMED, like "grey" as an alias for GRAY or "gold" as an
alias for saffron. Currently, the list of aliases is as follows:
gray,saffron,mauve,tan,peach,salmon,sky, andteal, andcobalt.NAMES. They are primarily there so blind attempts to name
a color might still work.public static final com.badlogic.gdx.utils.ObjectIntMap<java.lang.String> NAMED
public static final com.badlogic.gdx.utils.IntArray LIST
public static final int transparent
00000000, R 0.0, G 0.0, B 0.0, A 0.0, hue 0.0, saturation 0.0, and lightness 0.0.
@ @ @ @ @ @
public static final int black
000000FF, R 0.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 0.0, and lightness 0.0.
@ @ @ @ @ @
public static final int gray
808080FF, R 0.5019608, G 0.5019608, B 0.5019608, A 1.0, hue 0.0, saturation 0.0, and lightness 0.5019608.
@ @ @ @ @ @
public static final int silver
B6B6B6FF, R 0.7137255, G 0.7137255, B 0.7137255, A 1.0, hue 0.0, saturation 0.0, and lightness 0.7137255.
@ @ @ @ @ @
public static final int white
FFFFFFFF, R 1.0, G 1.0, B 1.0, A 1.0, hue 0.0, saturation 0.0, and lightness 1.0.
@ @ @ @ @ @
public static final int red
FF0000FF, R 1.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int orange
FF7F00FF, R 1.0, G 0.49803922, B 0.0, A 1.0, hue 0.08300654, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int yellow
FFFF00FF, R 1.0, G 1.0, B 0.0, A 1.0, hue 0.16666667, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int green
00FF00FF, R 0.0, G 1.0, B 0.0, A 1.0, hue 0.33333334, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int blue
0000FFFF, R 0.0, G 0.0, B 1.0, A 1.0, hue 0.6666667, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int indigo
520FE0FF, R 0.32156864, G 0.05882353, B 0.8784314, A 1.0, hue 0.7200957, saturation 0.81960785, and lightness 0.46862745.
@ @ @ @ @ @
public static final int violet
9040EFFF, R 0.5647059, G 0.2509804, B 0.9372549, A 1.0, hue 0.74285716, saturation 0.6862745, and lightness 0.59411764.
@ @ @ @ @ @
public static final int purple
C000FFFF, R 0.7529412, G 0.0, B 1.0, A 1.0, hue 0.7921569, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int brown
8F573BFF, R 0.56078434, G 0.34117648, B 0.23137255, A 1.0, hue 0.055555552, saturation 0.3294118, and lightness 0.39607844.
@ @ @ @ @ @
public static final int pink
FFA0E0FF, R 1.0, G 0.627451, B 0.8784314, A 1.0, hue 0.8877193, saturation 0.372549, and lightness 0.8137255.
@ @ @ @ @ @
public static final int magenta
F500F5FF, R 0.9607843, G 0.0, B 0.9607843, A 1.0, hue 0.8333333, saturation 0.9607843, and lightness 0.48039216.
@ @ @ @ @ @
public static final int brick
D5524AFF, R 0.8352941, G 0.32156864, B 0.2901961, A 1.0, hue 0.009592325, saturation 0.54509807, and lightness 0.5627451.
@ @ @ @ @ @
public static final int ember
F55A32FF, R 0.9607843, G 0.3529412, B 0.19607843, A 1.0, hue 0.034188036, saturation 0.7647059, and lightness 0.5784313.
@ @ @ @ @ @
public static final int salmon
FF6262FF, R 1.0, G 0.38431373, B 0.38431373, A 1.0, hue 0.0, saturation 0.6156863, and lightness 0.69215685.
@ @ @ @ @ @
public static final int chocolate
683818FF, R 0.40784314, G 0.21960784, B 0.09411765, A 1.0, hue 0.066666655, saturation 0.3137255, and lightness 0.25098038.
@ @ @ @ @ @
public static final int tan
D2B48CFF, R 0.8235294, G 0.7058824, B 0.54901963, A 1.0, hue 0.0952381, saturation 0.2745098, and lightness 0.6862745.
@ @ @ @ @ @
public static final int bronze
CE8E31FF, R 0.80784315, G 0.5568628, B 0.19215687, A 1.0, hue 0.09872612, saturation 0.6156863, and lightness 0.49999997.
@ @ @ @ @ @
public static final int cinnamon
D2691DFF, R 0.8235294, G 0.4117647, B 0.11372549, A 1.0, hue 0.06998159, saturation 0.70980394, and lightness 0.46862742.
@ @ @ @ @ @
public static final int apricot
FFA828FF, R 1.0, G 0.65882355, B 0.15686275, A 1.0, hue 0.09922481, saturation 0.84313726, and lightness 0.57843137.
@ @ @ @ @ @
public static final int peach
FFBF81FF, R 1.0, G 0.7490196, B 0.5058824, A 1.0, hue 0.08201058, saturation 0.49411762, and lightness 0.7529412.
@ @ @ @ @ @
public static final int pear
D3E330FF, R 0.827451, G 0.8901961, B 0.1882353, A 1.0, hue 0.18156426, saturation 0.7019608, and lightness 0.5392157.
@ @ @ @ @ @
public static final int saffron
FFD510FF, R 1.0, G 0.8352941, B 0.0627451, A 1.0, hue 0.13737796, saturation 0.9372549, and lightness 0.53137255.
@ @ @ @ @ @
public static final int butter
FFF288FF, R 1.0, G 0.9490196, B 0.53333336, A 1.0, hue 0.14845939, saturation 0.46666664, and lightness 0.76666665.
@ @ @ @ @ @
public static final int chartreuse
C8FF41FF, R 0.78431374, G 1.0, B 0.25490198, A 1.0, hue 0.21491227, saturation 0.745098, and lightness 0.627451.
@ @ @ @ @ @
public static final int cactus
30A000FF, R 0.1882353, G 0.627451, B 0.0, A 1.0, hue 0.28333336, saturation 0.627451, and lightness 0.3137255.
@ @ @ @ @ @
public static final int lime
93D300FF, R 0.5764706, G 0.827451, B 0.0, A 1.0, hue 0.21721959, saturation 0.827451, and lightness 0.4137255.
@ @ @ @ @ @
public static final int olive
818000FF, R 0.5058824, G 0.5019608, B 0.0, A 1.0, hue 0.16537468, saturation 0.5058824, and lightness 0.2529412.
@ @ @ @ @ @
public static final int fern
4E7942FF, R 0.30588236, G 0.4745098, B 0.25882354, A 1.0, hue 0.2969697, saturation 0.21568626, and lightness 0.36666664.
@ @ @ @ @ @
public static final int moss
204608FF, R 0.1254902, G 0.27450982, B 0.03137255, A 1.0, hue 0.26881722, saturation 0.24313727, and lightness 0.15294118.
@ @ @ @ @ @
public static final int celery
7DFF73FF, R 0.49019608, G 1.0, B 0.4509804, A 1.0, hue 0.32142857, saturation 0.5490196, and lightness 0.7254902.
@ @ @ @ @ @
public static final int sage
ABE3C5FF, R 0.67058825, G 0.8901961, B 0.77254903, A 1.0, hue 0.4107143, saturation 0.21960783, and lightness 0.78039217.
@ @ @ @ @ @
public static final int jade
3FBF3FFF, R 0.24705882, G 0.7490196, B 0.24705882, A 1.0, hue 0.33333334, saturation 0.5019608, and lightness 0.49803922.
@ @ @ @ @ @
public static final int cyan
00FFFFFF, R 0.0, G 1.0, B 1.0, A 1.0, hue 0.5, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int mint
7FFFD4FF, R 0.49803922, G 1.0, B 0.83137256, A 1.0, hue 0.44401044, saturation 0.50196075, and lightness 0.7490196.
@ @ @ @ @ @
public static final int teal
007F7FFF, R 0.0, G 0.49803922, B 0.49803922, A 1.0, hue 0.5, saturation 0.49803922, and lightness 0.24901961.
@ @ @ @ @ @
public static final int turquoise
2ED6C9FF, R 0.18039216, G 0.8392157, B 0.7882353, A 1.0, hue 0.48710316, saturation 0.65882355, and lightness 0.5098039.
@ @ @ @ @ @
public static final int sky
10C0E0FF, R 0.0627451, G 0.7529412, B 0.8784314, A 1.0, hue 0.5256411, saturation 0.8156863, and lightness 0.47058824.
@ @ @ @ @ @
public static final int cobalt
0046ABFF, R 0.0, G 0.27450982, B 0.67058825, A 1.0, hue 0.5984406, saturation 0.67058825, and lightness 0.33529413.
@ @ @ @ @ @
public static final int denim
3088B8FF, R 0.1882353, G 0.53333336, B 0.72156864, A 1.0, hue 0.5588235, saturation 0.53333336, and lightness 0.45490196.
@ @ @ @ @ @
public static final int navy
000080FF, R 0.0, G 0.0, B 0.5019608, A 1.0, hue 0.6666667, saturation 0.5019608, and lightness 0.2509804.
@ @ @ @ @ @
public static final int lavender
B991FFFF, R 0.7254902, G 0.5686275, B 1.0, A 1.0, hue 0.72727275, saturation 0.43137252, and lightness 0.78431374.
@ @ @ @ @ @
public static final int plum
BE0DC6FF, R 0.74509805, G 0.050980393, B 0.7764706, A 1.0, hue 0.82612616, saturation 0.7254902, and lightness 0.4137255.
@ @ @ @ @ @
public static final int mauve
AB73ABFF, R 0.67058825, G 0.4509804, B 0.67058825, A 1.0, hue 0.8333334, saturation 0.21960786, and lightness 0.56078434.
@ @ @ @ @ @
public static final int rose
E61E78FF, R 0.9019608, G 0.11764706, B 0.47058824, A 1.0, hue 0.925, saturation 0.78431374, and lightness 0.5098039.
@ @ @ @ @ @
public static final int raspberry
911437FF, R 0.5686275, G 0.078431375, B 0.21568628, A 1.0, hue 0.9533333, saturation 0.4901961, and lightness 0.32352945.
@ @ @ @ @ @
public static final int YELLOW
FFFF00FF, R 1.0, G 1.0, B 0.0, A 1.0, hue 0.16666667, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int BLUE
0000FFFF, R 0.0, G 0.0, B 1.0, A 1.0, hue 0.6666667, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int GOLD
FFD700FF, R 1.0, G 0.84313726, B 0.0, A 1.0, hue 0.14052288, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int GRAY
7F7F7FFF, R 0.49803922, G 0.49803922, B 0.49803922, A 1.0, hue 0.0, saturation 0.0, and lightness 0.49803922.
@ @ @ @ @ @
public static final int ORANGE
FFA500FF, R 1.0, G 0.64705884, B 0.0, A 1.0, hue 0.10784314, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int MAGENTA
FF00FFFF, R 1.0, G 0.0, B 1.0, A 1.0, hue 0.8333333, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int FIREBRICK
B22222FF, R 0.69803923, G 0.13333334, B 0.13333334, A 1.0, hue 0.0, saturation 0.5647059, and lightness 0.41568628.
@ @ @ @ @ @
public static final int SCARLET
FF341CFF, R 1.0, G 0.20392157, B 0.10980392, A 1.0, hue 0.017621147, saturation 0.8901961, and lightness 0.55490196.
@ @ @ @ @ @
public static final int WHITE
FFFFFFFF, R 1.0, G 1.0, B 1.0, A 1.0, hue 0.0, saturation 0.0, and lightness 1.0.
@ @ @ @ @ @
public static final int SKY
87CEEBFF, R 0.5294118, G 0.80784315, B 0.92156863, A 1.0, hue 0.54833335, saturation 0.39215684, and lightness 0.7254902.
@ @ @ @ @ @
public static final int FOREST
228B22FF, R 0.13333334, G 0.54509807, B 0.13333334, A 1.0, hue 0.33333334, saturation 0.41176474, and lightness 0.33921573.
@ @ @ @ @ @
public static final int GREEN
00FF00FF, R 0.0, G 1.0, B 0.0, A 1.0, hue 0.33333334, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int CHARTREUSE
7FFF00FF, R 0.49803922, G 1.0, B 0.0, A 1.0, hue 0.2503268, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int MAROON
B03060FF, R 0.6901961, G 0.1882353, B 0.3764706, A 1.0, hue 0.9375, saturation 0.5019608, and lightness 0.4392157.
@ @ @ @ @ @
public static final int RED
FF0000FF, R 1.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int CYAN
00FFFFFF, R 0.0, G 1.0, B 1.0, A 1.0, hue 0.5, saturation 1.0, and lightness 0.5.
@ @ @ @ @ @
public static final int BLACK
000000FF, R 0.0, G 0.0, B 0.0, A 1.0, hue 0.0, saturation 0.0, and lightness 0.0.
@ @ @ @ @ @
public static final int VIOLET
EE82EEFF, R 0.93333334, G 0.50980395, B 0.93333334, A 1.0, hue 0.8333333, saturation 0.4235294, and lightness 0.72156864.
@ @ @ @ @ @
public static final int CORAL
FF7F50FF, R 1.0, G 0.49803922, B 0.3137255, A 1.0, hue 0.0447619, saturation 0.6862745, and lightness 0.65686274.
@ @ @ @ @ @
public static final int ROYAL
4169E1FF, R 0.25490198, G 0.4117647, B 0.88235295, A 1.0, hue 0.625, saturation 0.62745094, and lightness 0.5686275.
@ @ @ @ @ @
public static final int LIME
32CD32FF, R 0.19607843, G 0.8039216, B 0.19607843, A 1.0, hue 0.33333334, saturation 0.60784316, and lightness 0.5.
@ @ @ @ @ @
public static final int CLEAR
00000000, R 0.0, G 0.0, B 0.0, A 0.0, hue 0.0, saturation 0.0, and lightness 0.0.
@ @ @ @ @ @
public static final int LIGHT_GRAY
BFBFBFFF, R 0.7490196, G 0.7490196, B 0.7490196, A 1.0, hue 0.0, saturation 0.0, and lightness 0.7490196.
@ @ @ @ @ @
public static final int NAVY
00007FFF, R 0.0, G 0.0, B 0.49803922, A 1.0, hue 0.6666667, saturation 0.49803922, and lightness 0.24901961.
@ @ @ @ @ @
public static final int BROWN
8B4513FF, R 0.54509807, G 0.27058825, B 0.07450981, A 1.0, hue 0.06944444, saturation 0.47058827, and lightness 0.30980393.
@ @ @ @ @ @
public static final int SALMON
FA8072FF, R 0.98039216, G 0.5019608, B 0.44705883, A 1.0, hue 0.017156873, saturation 0.5333333, and lightness 0.7137255.
@ @ @ @ @ @
public static final int PURPLE
A020F0FF, R 0.627451, G 0.1254902, B 0.9411765, A 1.0, hue 0.7692308, saturation 0.8156863, and lightness 0.53333336.
@ @ @ @ @ @
public static final int DARK_GRAY
3F3F3FFF, R 0.24705882, G 0.24705882, B 0.24705882, A 1.0, hue 0.0, saturation 0.0, and lightness 0.24705882.
@ @ @ @ @ @
public static final int SLATE
708090FF, R 0.4392157, G 0.5019608, B 0.5647059, A 1.0, hue 0.5833333, saturation 0.12549022, and lightness 0.5019608.
@ @ @ @ @ @
public static final int TAN
D2B48CFF, R 0.8235294, G 0.7058824, B 0.54901963, A 1.0, hue 0.0952381, saturation 0.2745098, and lightness 0.6862745.
@ @ @ @ @ @
public static final int PINK
FF69B4FF, R 1.0, G 0.4117647, B 0.7058824, A 1.0, hue 0.9166666, saturation 0.58823526, and lightness 0.7058824.
@ @ @ @ @ @
public static final int OLIVE
6B8E23FF, R 0.41960785, G 0.5568628, B 0.13725491, A 1.0, hue 0.22118384, saturation 0.41960788, and lightness 0.34705883.
@ @ @ @ @ @
public static final int TEAL
007F7FFF, R 0.0, G 0.49803922, B 0.49803922, A 1.0, hue 0.5, saturation 0.49803922, and lightness 0.24901961.
@ @ @ @ @ @
public static final int GOLDENROD
DAA520FF, R 0.85490197, G 0.64705884, B 0.1254902, A 1.0, hue 0.119175635, saturation 0.7294118, and lightness 0.49019608.
@ @ @ @ @ @
public static final com.badlogic.gdx.utils.Array<java.lang.String> NAMES
NAMED. This includes aliases, since those can be looked up like other names.public static void appendToKnownColors()
Colors, using the names in NAMES (which
are either "lowercased" instead of "ALL_UPPER_CASE", or are already present in Colors). This doesn't need any
changes to be made to Colors in order for it to be compatible; just remember that the colors originally in Colors
use "UPPER_CASE" and these may also use "lowercase" with no spaces.public static boolean addColor(java.lang.String name,
int rgba8888)
name - the name of the color to add; should not be already present in NAMEDrgba8888 - an int color as RGBA8888 to associate with the given name