public final class Colors
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
AliceBlue
Represents a color that has an ARGB value of #FFF0F8FF.
|
static java.awt.Color |
AntiqueWhite
Represents a color that has an ARGB value of #FFFAEBD7.
|
static java.awt.Color |
Aqua
Represents a color that has an ARGB value of #FF00FFFF.
|
static java.awt.Color |
Aquamarine
Represents a color that has an ARGB value of #FF7FFFD4.
|
static java.awt.Color |
Azure
Represents a color that has an ARGB value of #FFF0FFFF.
|
static java.awt.Color |
Beige
Represents a color that has an ARGB value of #FFF5F5DC.
|
static java.awt.Color |
Bisque
Represents a color that has an ARGB value of #FFFFE4C4.
|
static java.awt.Color |
Black
Represents a color that has an ARGB value of #FF000000.
|
static java.awt.Color |
BlanchedAlmond
Represents a color that has an ARGB value of #FFFFEBCD.
|
static java.awt.Color |
Blue
Represents a color that has an ARGB value of #FF0000FF.
|
static java.awt.Color |
BlueViolet
Represents a color that has an ARGB value of #FF8A2BE2.
|
static java.awt.Color |
Brown
Represents a color that has an ARGB value of #FFA52A2A.
|
static java.awt.Color |
BurlyWood
Represents a color that has an ARGB value of #FFDEB887.
|
static java.awt.Color |
CadetBlue
Represents a color that has an ARGB value of #FF5F9EA0.
|
static java.awt.Color |
Chartreuse
Represents a color that has an ARGB value of #FF7FFF00.
|
static java.awt.Color |
Chocolate
Represents a color that has an ARGB value of #FFD2691E.
|
static java.awt.Color |
Coral
Represents a color that has an ARGB value of #FFFF7F50.
|
static java.awt.Color |
CornflowerBlue
Represents a color that has an ARGB value of #FF6495ED.
|
static java.awt.Color |
Cornsilk
Represents a color that has an ARGB value of #FFFFF8DC.
|
static java.awt.Color |
Crimson
Represents a color that has an ARGB value of #FFDC143C.
|
static java.awt.Color |
Cyan
Represents a color that has an ARGB value of #FF00FFFF.
|
static java.awt.Color |
DarkBlue
Represents a color that has an ARGB value of #FF00008B.
|
static java.awt.Color |
DarkCyan
Represents a color that has an ARGB value of #FF008B8B.
|
static java.awt.Color |
DarkGoldenrod
Represents a color that has an ARGB value of #FFB8860B.
|
static java.awt.Color |
DarkGray
Represents a color that has an ARGB value of #FFA9A9A9.
|
static java.awt.Color |
DarkGreen
Represents a color that has an ARGB value of #FF006400.
|
static java.awt.Color |
DarkKhaki
Represents a color that has an ARGB value of #FFBDB76B.
|
static java.awt.Color |
DarkMagenta
Represents a color that has an ARGB value of #FF8B008B.
|
static java.awt.Color |
DarkOliveGreen
Represents a color that has an ARGB value of #FF556B2F.
|
static java.awt.Color |
DarkOrange
Represents a color that has an ARGB value of #FFFF8C00.
|
static java.awt.Color |
DarkOrchid
Represents a color that has an ARGB value of #FF9932CC.
|
static java.awt.Color |
DarkRed
Represents a color that has an ARGB value of #FF8B0000.
|
static java.awt.Color |
DarkSalmon
Represents a color that has an ARGB value of #FFE9967A.
|
static java.awt.Color |
DarkSeaGreen
Represents a color that has an ARGB value of #FF8FBC8F.
|
static java.awt.Color |
DarkSlateBlue
Represents a color that has an ARGB value of #FF483D8B.
|
static java.awt.Color |
DarkSlateGray
Represents a color that has an ARGB value of #FF2F4F4F.
|
static java.awt.Color |
DarkTurquoise
Represents a color that has an ARGB value of #FF00CED1.
|
static java.awt.Color |
DarkViolet
Represents a color that has an ARGB value of #FF9400D3.
|
static java.awt.Color |
DeepPink
Represents a color that has an ARGB value of #FFFF1493.
|
static java.awt.Color |
DeepSkyBlue
Represents a color that has an ARGB value of #FF00BFFF.
|
static java.awt.Color |
DimGray
Represents a color that has an ARGB value of #FF696969.
|
static java.awt.Color |
DodgerBlue
Represents a color that has an ARGB value of #FF1E90FF.
|
static java.awt.Color |
Empty
Represents an undefined color.
|
static java.awt.Color |
Firebrick
Represents a color that has an ARGB value of #FFB22222.
|
static java.awt.Color |
FloralWhite
Represents a color that has an ARGB value of #FFFFFAF0.
|
static java.awt.Color |
ForestGreen
Represents a color that has an ARGB value of #FF228B22.
|
static java.awt.Color |
Fuchsia
Represents a color that has an ARGB value of #FFFF00FF.
|
static java.awt.Color |
Gainsboro
Represents a color that has an ARGB value of #FFDCDCDC.
|
static java.awt.Color |
GhostWhite
Represents a color that has an ARGB value of #FFF8F8FF.
|
static java.awt.Color |
Gold
Represents a color that has an ARGB value of #FFFFD700.
|
static java.awt.Color |
Goldenrod
Represents a color that has an ARGB value of #FFDAA520.
|
static java.awt.Color |
Gray
Represents a color that has an ARGB value of #FF808080.
|
static java.awt.Color |
Green
Represents a color that has an ARGB value of #FF008000.
|
static java.awt.Color |
GreenYellow
Represents a color that has an ARGB value of #FFADFF2F.
|
static java.awt.Color |
Honeydew
Represents a color that has an ARGB value of #FFF0FFF0.
|
static java.awt.Color |
HotPink
Represents a color that has an ARGB value of #FFFF69B4.
|
static java.awt.Color |
IndianRed
Represents a color that has an ARGB value of #FFCD5C5C.
|
static java.awt.Color |
Indigo
Represents a color that has an ARGB value of #FF4B0082.
|
static java.awt.Color |
Ivory
Represents a color that has an ARGB value of #FFFFFFF0.
|
static java.awt.Color |
Khaki
Represents a color that has an ARGB value of #FFF0E68C.
|
static java.awt.Color |
Lavender
Represents a color that has an ARGB value of #FFE6E6FA.
|
static java.awt.Color |
LavenderBlush
Represents a color that has an ARGB value of #FFFFF0F5.
|
static java.awt.Color |
LawnGreen
Represents a color that has an ARGB value of #FF7CFC00.
|
static java.awt.Color |
LemonChiffon
Represents a color that has an ARGB value of #FFFFFACD.
|
static java.awt.Color |
LightBlue
Represents a color that has an ARGB value of #FFADD8E6.
|
static java.awt.Color |
LightCoral
Represents a color that has an ARGB value of #FFF08080.
|
static java.awt.Color |
LightCyan
Represents a color that has an ARGB value of #FFE0FFFF.
|
static java.awt.Color |
LightGoldenrodYellow
Represents a color that has an ARGB value of #FFFAFAD2.
|
static java.awt.Color |
LightGray
Represents a color that has an ARGB value of #FFD3D3D3.
|
static java.awt.Color |
LightGreen
Represents a color that has an ARGB value of #FF90EE90.
|
static java.awt.Color |
LightPink
Represents a color that has an ARGB value of #FFFFB6C1.
|
static java.awt.Color |
LightSalmon
Represents a color that has an ARGB value of #FFFFA07A.
|
static java.awt.Color |
LightSeaGreen
Represents a color that has an ARGB value of #FF20B2AA.
|
static java.awt.Color |
LightSkyBlue
Represents a color that has an ARGB value of #FF87CEFA.
|
static java.awt.Color |
LightSlateGray
Represents a color that has an ARGB value of #FF778899.
|
static java.awt.Color |
LightSteelBlue
Represents a color that has an ARGB value of #FFB0C4DE.
|
static java.awt.Color |
LightYellow
Represents a color that has an ARGB value of #FFFFFFE0.
|
static java.awt.Color |
Lime
Represents a color that has an ARGB value of #FF00FF00.
|
static java.awt.Color |
LimeGreen
Represents a color that has an ARGB value of #FF32CD32.
|
static java.awt.Color |
Linen
Represents a color that has an ARGB value of #FFFAF0E6.
|
static java.awt.Color |
Magenta
Represents a color that has an ARGB value of #FFFF00FF.
|
static java.awt.Color |
Maroon
Represents a color that has an ARGB value of #FF800000.
|
static java.awt.Color |
MediumAquamarine
Represents a color that has an ARGB value of #FF66CDAA.
|
static java.awt.Color |
MediumBlue
Represents a color that has an ARGB value of #FF0000CD.
|
static java.awt.Color |
MediumOrchid
Represents a color that has an ARGB value of #FFBA55D3.
|
static java.awt.Color |
MediumPurple
Represents a color that has an ARGB value of #FF9370DB.
|
static java.awt.Color |
MediumSeaGreen
Represents a color that has an ARGB value of #FF3CB371.
|
static java.awt.Color |
MediumSlateBlue
Represents a color that has an ARGB value of #FF7B68EE.
|
static java.awt.Color |
MediumSpringGreen
Represents a color that has an ARGB value of #FF00FA9A.
|
static java.awt.Color |
MediumTurquoise
Represents a color that has an ARGB value of #FF48D1CC.
|
static java.awt.Color |
MediumVioletRed
Represents a color that has an ARGB value of #FFC71585.
|
static java.awt.Color |
MidnightBlue
Represents a color that has an ARGB value of #FF191970.
|
static java.awt.Color |
MintCream
Represents a color that has an ARGB value of #FFF5FFFA.
|
static java.awt.Color |
MistyRose
Represents a color that has an ARGB value of #FFFFE4E1.
|
static java.awt.Color |
Moccasin
Represents a color that has an ARGB value of #FFFFE4B5.
|
static java.awt.Color |
NavajoWhite
Represents a color that has an ARGB value of #FFFFDEAD.
|
static java.awt.Color |
Navy
Represents a color that has an ARGB value of #FF000080.
|
static java.awt.Color |
OldLace
Represents a color that has an ARGB value of #FFFDF5E6.
|
static java.awt.Color |
Olive
Represents a color that has an ARGB value of #FF808000.
|
static java.awt.Color |
OliveDrab
Represents a color that has an ARGB value of #FF6B8E23.
|
static java.awt.Color |
Orange
Represents a color that has an ARGB value of #FFFFA500.
|
static java.awt.Color |
OrangeRed
Represents a color that has an ARGB value of #FFFF4500.
|
static java.awt.Color |
Orchid
Represents a color that has an ARGB value of #FFDA70D6.
|
static java.awt.Color |
PaleGoldenrod
Represents a color that has an ARGB value of #FFEEE8AA.
|
static java.awt.Color |
PaleGreen
Represents a color that has an ARGB value of #FF98FB98.
|
static java.awt.Color |
PaleTurquoise
Represents a color that has an ARGB value of #FFAFEEEE.
|
static java.awt.Color |
PaleVioletRed
Represents a color that has an ARGB value of #FFDB7093.
|
static java.awt.Color |
PapayaWhip
Represents a color that has an ARGB value of #FFFFEFD5.
|
static java.awt.Color |
PeachPuff
Represents a color that has an ARGB value of #FFFFDAB9.
|
static java.awt.Color |
Peru
Represents a color that has an ARGB value of #FFCD853F.
|
static java.awt.Color |
Pink
Represents a color that has an ARGB value of #FFFFC0CB.
|
static java.awt.Color |
Plum
Represents a color that has an ARGB value of #FFDDA0DD.
|
static java.awt.Color |
PowderBlue
Represents a color that has an ARGB value of #FFB0E0E6.
|
static java.awt.Color |
Purple
Represents a color that has an ARGB value of #FF800080.
|
static java.awt.Color |
Red
Represents a color that has an ARGB value of #FFFF0000.
|
static java.awt.Color |
RosyBrown
Represents a color that has an ARGB value of #FFBC8F8F.
|
static java.awt.Color |
RoyalBlue
Represents a color that has an ARGB value of #FF4169E1.
|
static java.awt.Color |
SaddleBrown
Represents a color that has an ARGB value of #FF8B4513.
|
static java.awt.Color |
Salmon
Represents a color that has an ARGB value of #FFFA8072.
|
static java.awt.Color |
SandyBrown
Represents a color that has an ARGB value of #FFF4A460.
|
static java.awt.Color |
SeaGreen
Represents a color that has an ARGB value of #FF2E8B57.
|
static java.awt.Color |
SeaShell
Represents a color that has an ARGB value of #FFFFF5EE.
|
static java.awt.Color |
Sienna
Represents a color that has an ARGB value of #FFA0522D.
|
static java.awt.Color |
Silver
Represents a color that has an ARGB value of #FFC0C0C0.
|
static java.awt.Color |
SkyBlue
Represents a color that has an ARGB value of #FF87CEEB.
|
static java.awt.Color |
SlateBlue
Represents a color that has an ARGB value of #FF6A5ACD.
|
static java.awt.Color |
SlateGray
Represents a color that has an ARGB value of #FF708090.
|
static java.awt.Color |
Snow
Represents a color that has an ARGB value of #FFFFFAFA.
|
static java.awt.Color |
SpringGreen
Represents a color that has an ARGB value of #FF00FF7F.
|
static java.awt.Color |
SteelBlue
Represents a color that has an ARGB value of #FF4682B4.
|
static java.awt.Color |
Tan
Represents a color that has an ARGB value of #FFD2B48C.
|
static java.awt.Color |
Teal
Represents a color that has an ARGB value of #FF008080.
|
static java.awt.Color |
Thistle
Represents a color that has an ARGB value of #FFD8BFD8.
|
static java.awt.Color |
Tomato
Represents a color that has an ARGB value of #FFFF6347.
|
static java.awt.Color |
Transparent
Represents a fully transparent color.
|
static java.awt.Color |
Turquoise
Represents a color that has an ARGB value of #FF40E0D0.
|
static java.awt.Color |
Violet
Represents a color that has an ARGB value of #FFEE82EE.
|
static java.awt.Color |
Wheat
Represents a color that has an ARGB value of #FFF5DEB3.
|
static java.awt.Color |
White
Represents a color that has an ARGB value of #FFFFFFFF.
|
static java.awt.Color |
WhiteSmoke
Represents a color that has an ARGB value of #FFF5F5F5.
|
static java.awt.Color |
Yellow
Represents a color that has an ARGB value of #FFFFFF00.
|
static java.awt.Color |
YellowGreen
Represents a color that has an ARGB value of #FF9ACD32.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
fromName(java.lang.String name) |
public static final java.awt.Color Empty
public static final java.awt.Color Transparent
public static final java.awt.Color AliceBlue
public static final java.awt.Color AntiqueWhite
public static final java.awt.Color Aqua
public static final java.awt.Color Aquamarine
public static final java.awt.Color Azure
public static final java.awt.Color Beige
public static final java.awt.Color Bisque
public static final java.awt.Color Black
public static final java.awt.Color BlanchedAlmond
public static final java.awt.Color Blue
public static final java.awt.Color BlueViolet
public static final java.awt.Color Brown
public static final java.awt.Color BurlyWood
public static final java.awt.Color CadetBlue
public static final java.awt.Color Chartreuse
public static final java.awt.Color Chocolate
public static final java.awt.Color Coral
public static final java.awt.Color CornflowerBlue
public static final java.awt.Color Cornsilk
public static final java.awt.Color Crimson
public static final java.awt.Color Cyan
public static final java.awt.Color DarkBlue
public static final java.awt.Color DarkCyan
public static final java.awt.Color DarkGoldenrod
public static final java.awt.Color DarkGray
public static final java.awt.Color DarkGreen
public static final java.awt.Color DarkKhaki
public static final java.awt.Color DarkMagenta
public static final java.awt.Color DarkOliveGreen
public static final java.awt.Color DarkOrange
public static final java.awt.Color DarkOrchid
public static final java.awt.Color DarkRed
public static final java.awt.Color DarkSalmon
public static final java.awt.Color DarkSeaGreen
public static final java.awt.Color DarkSlateBlue
public static final java.awt.Color DarkSlateGray
public static final java.awt.Color DarkTurquoise
public static final java.awt.Color DarkViolet
public static final java.awt.Color DeepPink
public static final java.awt.Color DeepSkyBlue
public static final java.awt.Color DimGray
public static final java.awt.Color DodgerBlue
public static final java.awt.Color Firebrick
public static final java.awt.Color FloralWhite
public static final java.awt.Color ForestGreen
public static final java.awt.Color Fuchsia
public static final java.awt.Color Gainsboro
public static final java.awt.Color GhostWhite
public static final java.awt.Color Gold
public static final java.awt.Color Goldenrod
public static final java.awt.Color Gray
public static final java.awt.Color Green
public static final java.awt.Color GreenYellow
public static final java.awt.Color Honeydew
public static final java.awt.Color HotPink
public static final java.awt.Color IndianRed
public static final java.awt.Color Indigo
public static final java.awt.Color Ivory
public static final java.awt.Color Khaki
public static final java.awt.Color Lavender
public static final java.awt.Color LavenderBlush
public static final java.awt.Color LawnGreen
public static final java.awt.Color LemonChiffon
public static final java.awt.Color LightBlue
public static final java.awt.Color LightCoral
public static final java.awt.Color LightCyan
public static final java.awt.Color LightGoldenrodYellow
public static final java.awt.Color LightGray
public static final java.awt.Color LightGreen
public static final java.awt.Color LightPink
public static final java.awt.Color LightSalmon
public static final java.awt.Color LightSeaGreen
public static final java.awt.Color LightSkyBlue
public static final java.awt.Color LightSlateGray
public static final java.awt.Color LightSteelBlue
public static final java.awt.Color LightYellow
public static final java.awt.Color Lime
public static final java.awt.Color LimeGreen
public static final java.awt.Color Linen
public static final java.awt.Color Magenta
public static final java.awt.Color Maroon
public static final java.awt.Color MediumAquamarine
public static final java.awt.Color MediumBlue
public static final java.awt.Color MediumOrchid
public static final java.awt.Color MediumPurple
public static final java.awt.Color MediumSeaGreen
public static final java.awt.Color MediumSlateBlue
public static final java.awt.Color MediumSpringGreen
public static final java.awt.Color MediumTurquoise
public static final java.awt.Color MediumVioletRed
public static final java.awt.Color MidnightBlue
public static final java.awt.Color MintCream
public static final java.awt.Color MistyRose
public static final java.awt.Color Moccasin
public static final java.awt.Color NavajoWhite
public static final java.awt.Color Navy
public static final java.awt.Color OldLace
public static final java.awt.Color Olive
public static final java.awt.Color OliveDrab
public static final java.awt.Color Orange
public static final java.awt.Color OrangeRed
public static final java.awt.Color Orchid
public static final java.awt.Color PaleGoldenrod
public static final java.awt.Color PaleGreen
public static final java.awt.Color PaleTurquoise
public static final java.awt.Color PaleVioletRed
public static final java.awt.Color PapayaWhip
public static final java.awt.Color PeachPuff
public static final java.awt.Color Peru
public static final java.awt.Color Pink
public static final java.awt.Color Plum
public static final java.awt.Color PowderBlue
public static final java.awt.Color Purple
public static final java.awt.Color Red
public static final java.awt.Color RosyBrown
public static final java.awt.Color RoyalBlue
public static final java.awt.Color SaddleBrown
public static final java.awt.Color Salmon
public static final java.awt.Color SandyBrown
public static final java.awt.Color SeaGreen
public static final java.awt.Color SeaShell
public static final java.awt.Color Sienna
public static final java.awt.Color Silver
public static final java.awt.Color SkyBlue
public static final java.awt.Color SlateBlue
public static final java.awt.Color SlateGray
public static final java.awt.Color Snow
public static final java.awt.Color SpringGreen
public static final java.awt.Color SteelBlue
public static final java.awt.Color Tan
public static final java.awt.Color Teal
public static final java.awt.Color Thistle
public static final java.awt.Color Tomato
public static final java.awt.Color Turquoise
public static final java.awt.Color Violet
public static final java.awt.Color Wheat
public static final java.awt.Color White
public static final java.awt.Color WhiteSmoke
public static final java.awt.Color Yellow
public static final java.awt.Color YellowGreen