public final class Color extends Object
Represents class for color value which can be expressed in different color space.
Modifier and Type | Field and Description |
---|---|
static Color |
Empty
Represents empty color.
|
Constructor and Description |
---|
Color()
Default constructor.
|
Color(double[] vector)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Color |
deepClone()
Clones this instance
|
boolean |
equals(Object obj)
Returns true if two Colors are equal.
|
static Color |
fromArgb(int r,
int g,
int b)
Gets valid pdf Color object from RGB color components.
|
static Color |
fromArgb(int a,
int r,
int g,
int b)
Gets valid pdf Color object from RGB color components.
|
static Color |
fromCmyk(double c,
double m,
double y,
double k)
Gets valid pdf Color object from RGB color components.
|
static Color |
fromGray(double g)
Gets valid pdf Color object from Gray color component.
|
static Color |
fromRgb(Color color)
Gets valid pdf Color object from java.awt.Color value.
|
static Color |
fromRgb(double r,
double g,
double b)
Gets valid pdf Color object from RGB color components.
|
double |
getA()
Gets the alpha component value
|
static Color |
getAliceBlue()
Gets a system-defined color that has an ARGB value of #FFF0F8FF.
|
static Color |
getAntiqueWhite()
Gets a system-defined color that has an ARGB value of #FFFAEBD7.
|
static Color |
getAqua()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
|
static Color |
getAquamarine()
Gets a system-defined color that has an ARGB value of #FF7FFFD4.
|
static Color |
getAzure()
Gets a system-defined color that has an ARGB value of #FFF0FFFF.
|
static Color |
getBeige()
Gets a system-defined color that has an ARGB value of #FFF5F5DC.
|
static Color |
getBisque()
Gets a system-defined color that has an ARGB value of #FFFFE4C4.
|
static Color |
getBlack()
Gets a system-defined color that has an ARGB value of #FF000000.
|
static Color |
getBlanchedAlmond()
Gets a system-defined color that has an ARGB value of #FFFFEBCD.
|
static Color |
getBlue()
Gets a system-defined color that has an ARGB value of #FF0000FF.
|
static Color |
getBlueViolet()
Gets a system-defined color that has an ARGB value of #FF8A2BE2.
|
static Color |
getBrown()
Gets a system-defined color that has an ARGB value of #FFA52A2A.
|
static Color |
getBurlyWood()
Gets a system-defined color that has an ARGB value of #FFDEB887.
|
static Color |
getCadetBlue()
Gets a system-defined color that has an ARGB value of #FF5F9EA0.
|
static Color |
getChartreuse()
Gets a system-defined color that has an ARGB value of #FF7FFF00.
|
static Color |
getChocolate()
Gets a system-defined color that has an ARGB value of #FFD2691E.
|
int |
getColorSpace()
Gets color space that the color represents.
|
static Color |
getCoral()
Gets a system-defined color that has an ARGB value of #FFFF7F50.
|
static Color |
getCornflowerBlue()
Gets a system-defined color that has an ARGB value of #FF6495ED.
|
static Color |
getCornsilk()
Gets a system-defined color that has an ARGB value of #FFFFF8DC.
|
static Color |
getCrimson()
Gets a system-defined color that has an ARGB value of #FFDC143C.
|
static Color |
getCyan()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
|
static Color |
getDarkBlue()
Gets a system-defined color that has an ARGB value of #FF00008B.
|
static Color |
getDarkCyan()
Gets a system-defined color that has an ARGB value of #FF008B8B.
|
static Color |
getDarkGoldenrod()
Gets a system-defined color that has an ARGB value of #FFB8860B.
|
static Color |
getDarkGray()
Gets a system-defined color that has an ARGB value of #FFA9A9A9.
|
static Color |
getDarkGreen()
Gets a system-defined color that has an ARGB value of #FF006400.
|
static Color |
getDarkKhaki()
Gets a system-defined color that has an ARGB value of #FFBDB76B.
|
static Color |
getDarkMagenta()
Gets a system-defined color that has an ARGB value of #FF8B008B.
|
static Color |
getDarkOliveGreen()
Gets a system-defined color that has an ARGB value of #FF556B2F.
|
static Color |
getDarkOrange()
Gets a system-defined color that has an ARGB value of #FFFF8C00.
|
static Color |
getDarkOrchid()
Gets a system-defined color that has an ARGB value of #FF9932CC.
|
static Color |
getDarkRed()
Gets a system-defined color that has an ARGB value of #FF8B0000.
|
static Color |
getDarkSalmon()
Gets a system-defined color that has an ARGB value of #FFE9967A.
|
static Color |
getDarkSeaGreen()
Gets a system-defined color that has an ARGB value of #FF8FBC8F.
|
static Color |
getDarkSlateBlue()
Gets a system-defined color that has an ARGB value of #FF483D8B.
|
static Color |
getDarkSlateGray()
Gets a system-defined color that has an ARGB value of #FF2F4F4F.
|
static Color |
getDarkTurquoise()
Gets a system-defined color that has an ARGB value of #FF00CED1.
|
static Color |
getDarkViolet()
Gets a system-defined color that has an ARGB value of #FF9400D3.
|
double[] |
getData()
Color value.
|
static Color |
getDeepPink()
Gets a system-defined color that has an ARGB value of #FFFF1493.
|
static Color |
getDeepSkyBlue()
Gets a system-defined color that has an ARGB value of #FF00BFFF.
|
static Color |
getDimGray()
Gets a system-defined color that has an ARGB value of #FF696969.
|
static Color |
getDodgerBlue()
Gets a system-defined color that has an ARGB value of #FF1E90FF.
|
static Color |
getFirebrick()
Gets a system-defined color that has an ARGB value of #FFB22222.
|
static Color |
getFloralWhite()
Gets a system-defined color that has an ARGB value of #FFFFFAF0.
|
static Color |
getForestGreen()
Gets a system-defined color that has an ARGB value of #FF228B22.
|
static Color |
getFuchsia()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
|
static Color |
getGainsboro()
Gets a system-defined color that has an ARGB value of #FFDCDCDC.
|
static Color |
getGhostWhite()
Gets a system-defined color that has an ARGB value of #FFF8F8FF.
|
static Color |
getGold()
Gets a system-defined color that has an ARGB value of #FFFFD700.
|
static Color |
getGoldenrod()
Gets a system-defined color that has an ARGB value of #FFDAA520.
|
static Color |
getGray()
Gets a system-defined color that has an ARGB value of #FF808080.
|
static Color |
getGreen()
Gets a system-defined color that has an ARGB value of #FF008000.
|
static Color |
getGreenYellow()
Gets a system-defined color that has an ARGB value of #FFADFF2F.
|
static Color |
getHoneydew()
Gets a system-defined color that has an ARGB value of #FFF0FFF0.
|
static Color |
getHotPink()
Gets a system-defined color that has an ARGB value of #FFFF69B4.
|
static Color |
getIndianRed()
Gets a system-defined color that has an ARGB value of #FFCD5C5C.
|
static Color |
getIndigo()
Gets a system-defined color that has an ARGB value of #FF4B0082.
|
static Color |
getIvory()
Gets a system-defined color that has an ARGB value of #FFFFFFF0.
|
static Color |
getKhaki()
Gets a system-defined color that has an ARGB value of #FFF0E68C.
|
static Color |
getLavender()
Gets a system-defined color that has an ARGB value of #FFE6E6FA.
|
static Color |
getLavenderBlush()
Gets a system-defined color that has an ARGB value of #FFFFF0F5.
|
static Color |
getLawnGreen()
Gets a system-defined color that has an ARGB value of #FF7CFC00.
|
static Color |
getLemonChiffon()
Gets a system-defined color that has an ARGB value of #FFFFFACD.
|
static Color |
getLightBlue()
Gets a system-defined color that has an ARGB value of #FFADD8E6.
|
static Color |
getLightCoral()
Gets a system-defined color that has an ARGB value of #FFF08080.
|
static Color |
getLightCyan()
Gets a system-defined color that has an ARGB value of #FFE0FFFF.
|
static Color |
getLightGoldenrodYellow()
Gets a system-defined color that has an ARGB value of #FFFAFAD2.
|
static Color |
getLightGray()
Gets a system-defined color that has an ARGB value of #FFD3D3D3.
|
static Color |
getLightGreen()
Gets a system-defined color that has an ARGB value of #FF90EE90.
|
static Color |
getLightPink()
Gets a system-defined color that has an ARGB value of #FFFFB6C1.
|
static Color |
getLightSalmon()
Gets a system-defined color that has an ARGB value of #FFFFA07A.
|
static Color |
getLightSeaGreen()
Gets a system-defined color that has an ARGB value of #FF20B2AA.
|
static Color |
getLightSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEFA.
|
static Color |
getLightSlateGray()
Gets a system-defined color that has an ARGB value of #FF778899.
|
static Color |
getLightSteelBlue()
Gets a system-defined color that has an ARGB value of #FFB0C4DE.
|
static Color |
getLightYellow()
Gets a system-defined color that has an ARGB value of #FFFFFFE0.
|
static Color |
getLime()
Gets a system-defined color that has an ARGB value of #FF00FF00.
|
static Color |
getLimeGreen()
Gets a system-defined color that has an ARGB value of #FF32CD32.
|
static Color |
getLinen()
Gets a system-defined color that has an ARGB value of #FFFAF0E6.
|
static Color |
getMagenta()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
|
static Color |
getMaroon()
Gets a system-defined color that has an ARGB value of #FF800000.
|
static Color |
getMediumAquamarine()
Gets a system-defined color that has an ARGB value of #FF66CDAA.
|
static Color |
getMediumBlue()
Gets a system-defined color that has an ARGB value of #FF0000CD.
|
static Color |
getMediumOrchid()
Gets a system-defined color that has an ARGB value of #FFBA55D3.
|
static Color |
getMediumPurple()
Gets a system-defined color that has an ARGB value of #FF9370DB.
|
static Color |
getMediumSeaGreen()
Gets a system-defined color that has an ARGB value of #FF3CB371.
|
static Color |
getMediumSlateBlue()
Gets a system-defined color that has an ARGB value of #FF7B68EE.
|
static Color |
getMediumSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FA9A.
|
static Color |
getMediumTurquoise()
Gets a system-defined color that has an ARGB value of #FF48D1CC.
|
static Color |
getMediumVioletRed()
Gets a system-defined color that has an ARGB value of #FFC71585.
|
static Color |
getMidnightBlue()
Gets a system-defined color that has an ARGB value of #FF191970.
|
static Color |
getMintCream()
Gets a system-defined color that has an ARGB value of #FFF5FFFA.
|
static Color |
getMistyRose()
Gets a system-defined color that has an ARGB value of #FFFFE4E1.
|
static Color |
getMoccasin()
Gets a system-defined color that has an ARGB value of #FFFFE4B5.
|
static Color |
getNavajoWhite()
Gets a system-defined color that has an ARGB value of #FFFFDEAD.
|
static Color |
getNavy()
Gets a system-defined color that has an ARGB value of #FF000080.
|
static Color |
getOldLace()
Gets a system-defined color that has an ARGB value of #FFFDF5E6.
|
static Color |
getOlive()
Gets a system-defined color that has an ARGB value of #FF808000.
|
static Color |
getOliveDrab()
Gets a system-defined color that has an ARGB value of #FF6B8E23.
|
static Color |
getOrange()
Gets a system-defined color that has an ARGB value of #FFFFA500.
|
static Color |
getOrangeRed()
Gets a system-defined color that has an ARGB value of #FFFF4500.
|
static Color |
getOrchid()
Gets a system-defined color that has an ARGB value of #FFDA70D6.
|
static Color |
getPaleGoldenrod()
Gets a system-defined color that has an ARGB value of #FFEEE8AA.
|
static Color |
getPaleGreen()
Gets a system-defined color that has an ARGB value of #FF98FB98.
|
static Color |
getPaleTurquoise()
Gets a system-defined color that has an ARGB value of #FFAFEEEE.
|
static Color |
getPaleVioletRed()
Gets a system-defined color that has an ARGB value of #FFDB7093.
|
static Color |
getPapayaWhip()
Gets a system-defined color that has an ARGB value of #FFFFEFD5.
|
PatternColorSpace |
getPatternColorSpace()
Gets a object that indicates the pattern colorspace.
|
static Color |
getPeachPuff()
Gets a system-defined color that has an ARGB value of #FFFFDAB9.
|
static Color |
getPeru()
Gets a system-defined color that has an ARGB value of #FFCD853F.
|
static Color |
getPink()
Gets a system-defined color that has an ARGB value of #FFFFC0CB.
|
static Color |
getPlum()
Gets a system-defined color that has an ARGB value of #FFDDA0DD.
|
static Color |
getPowderBlue()
Gets a system-defined color that has an ARGB value of #FFB0E0E6.
|
static Color |
getPurple()
Gets a system-defined color that has an ARGB value of #FF800080.
|
static Color |
getRed()
Gets a system-defined color that has an ARGB value of #FFFF0000.
|
static Color |
getRosyBrown()
Gets a system-defined color that has an ARGB value of #FFBC8F8F.
|
static Color |
getRoyalBlue()
Gets a system-defined color that has an ARGB value of #FF4169E1.
|
static Color |
getSaddleBrown()
Gets a system-defined color that has an ARGB value of #FF8B4513.
|
static Color |
getSalmon()
Gets a system-defined color that has an ARGB value of #FFFA8072.
|
static Color |
getSandyBrown()
Gets a system-defined color that has an ARGB value of #FFF4A460.
|
static Color |
getSeaGreen()
Gets a system-defined color that has an ARGB value of #FF2E8B57.
|
static Color |
getSeaShell()
Gets a system-defined color that has an ARGB value of #FFFFF5EE.
|
static Color |
getSienna()
Gets a system-defined color that has an ARGB value of #FFA0522D.
|
static Color |
getSilver()
Gets a system-defined color that has an ARGB value of #FFC0C0C0.
|
static Color |
getSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEEB.
|
static Color |
getSlateBlue()
Gets a system-defined color that has an ARGB value of #FF6A5ACD.
|
static Color |
getSlateGray()
Gets a system-defined color that has an ARGB value of #FF708090.
|
static Color |
getSnow()
Gets a system-defined color that has an ARGB value of #FFFFFAFA.
|
static Color |
getSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FF7F.
|
static Color |
getSteelBlue()
Gets a system-defined color that has an ARGB value of #FF4682B4.
|
static Color |
getTan()
Gets a system-defined color that has an ARGB value of #FFD2B48C.
|
static Color |
getTeal()
Gets a system-defined color that has an ARGB value of #FF008080.
|
static Color |
getThistle()
Gets a system-defined color that has an ARGB value of #FFD8BFD8.
|
static Color |
getTomato()
Gets a system-defined color that has an ARGB value of #FFFF6347.
|
static Color |
getTransparent()
Gets a system-defined color.
|
static Color |
getTurquoise()
Gets a system-defined color that has an ARGB value of #FF40E0D0.
|
static Color |
getViolet()
Gets a system-defined color that has an ARGB value of #FFEE82EE.
|
static Color |
getWheat()
Gets a system-defined color that has an ARGB value of #FFF5DEB3.
|
static Color |
getWhite()
Gets a system-defined color that has an ARGB value of #FFFFFFFF.
|
static Color |
getWhiteSmoke()
Gets a system-defined color that has an ARGB value of #FFF5F5F5.
|
static Color |
getYellow()
Gets a system-defined color that has an ARGB value of #FFFFFF00.
|
static Color |
getYellowGreen()
Gets a system-defined color that has an ARGB value of #FF9ACD32.
|
int |
hashCode()
Returns a hash code value for the object.
|
static boolean |
op_Equality(Color x,
Color y)
Returns true if two Colors are equal.
|
static boolean |
op_Inequality(Color x,
Color y)
Returns true if two Colors are not equal.
|
static Color |
parse(String value)
Extracts color components from the string.
|
void |
setPatternColorSpace(PatternColorSpace value)
Sets a object that indicates the pattern colorspace.
|
Color |
toRgb()
Converts color into rgb.
|
String |
toString()
Converts to string.
|
public static final Color Empty
public Color()
public Color(double[] vector)
vector
- double[] arraypublic double getA()
Gets the alpha component value
public double[] getData()
Color value.
public int getColorSpace()
Gets color space that the color represents.
public Color deepClone()
public static Color parse(String value)
Extracts color components from the string.
value
- String value with color component values.public String toString()
Converts to string.
public Color toRgb()
Converts color into rgb.
public static Color fromRgb(Color color)
Gets valid pdf Color object from java.awt.Color value.
color
- System.Drawing.Color value.public static Color fromArgb(int r, int g, int b)
Gets valid pdf Color object from RGB color components.
r
- The Red color component (value 0 - 255).g
- The Green color component (value 0 - 255).b
- The Blue color component (value 0 - 255).public static Color fromArgb(int a, int r, int g, int b)
Gets valid pdf Color object from RGB color components.
a
- The alpha component value (value 0 - 255).r
- The Red color component (value 0 - 255).g
- The Green color component (value 0 - 255).b
- The Blue color component (value 0 - 255).public static Color fromRgb(double r, double g, double b)
Gets valid pdf Color object from RGB color components.
r
- The Red color component (value 0 - 1).g
- The Green color component (value 0 - 1).b
- The Blue color component (value 0 - 1).public static Color fromGray(double g)
Gets valid pdf Color object from Gray color component.
g
- The Gray color component (value 0 - 1).public static Color fromCmyk(double c, double m, double y, double k)
Gets valid pdf Color object from RGB color components.
c
- The Cyan color component (value 0 - 1).m
- The Magenta color component (value 0 - 1).y
- The Yellow color component (value 0 - 1).k
- The Key color component (value 0 - 1).public int hashCode()
HashMap
.
The general contract of hashCode
is:
hashCode
method must consistently return the same integer, provided
no information used in equals
comparisons on the object is modified. This integer
need not remain consistent from one execution of an application to another execution of the
same application.
equals(Object)
method, then calling the
hashCode
method on each of the two objects must produce the same integer result.
Object.equals(java.lang.Object)
method, then calling the hashCode
method on each of the two objects must produce distinct integer results. However, the
programmer should be aware that producing distinct integer results for unequal objects may
improve the performance of hash tables.
As much as is reasonably practical, the hashCode method defined by class Object
does
return distinct integers for distinct objects. (This is typically implemented by converting
the internal address of the object into an integer, but this implementation technique is not
required by the JavaTMprogramming language.)
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public boolean equals(Object obj)
Returns true if two Colors are equal.
public static boolean op_Equality(Color x, Color y)
Returns true if two Colors are equal.
x
- First Color object.y
- Second Color object.public static boolean op_Inequality(Color x, Color y)
Returns true if two Colors are not equal.
x
- First Color object.y
- Second Color object.public PatternColorSpace getPatternColorSpace()
Gets a object that indicates the pattern colorspace.
Internal usage onlypublic void setPatternColorSpace(PatternColorSpace value)
Sets a object that indicates the pattern colorspace.
Internal usage onlyvalue
- PatternColorSpace objectpublic static Color getTransparent()
Gets a system-defined color.
public static Color getAliceBlue()
Gets a system-defined color that has an ARGB value of #FFF0F8FF.
public static Color getAntiqueWhite()
Gets a system-defined color that has an ARGB value of #FFFAEBD7.
public static Color getAqua()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
public static Color getAquamarine()
Gets a system-defined color that has an ARGB value of #FF7FFFD4.
public static Color getAzure()
Gets a system-defined color that has an ARGB value of #FFF0FFFF.
public static Color getBeige()
Gets a system-defined color that has an ARGB value of #FFF5F5DC.
public static Color getBisque()
Gets a system-defined color that has an ARGB value of #FFFFE4C4.
public static Color getBlack()
Gets a system-defined color that has an ARGB value of #FF000000.
public static Color getBlanchedAlmond()
Gets a system-defined color that has an ARGB value of #FFFFEBCD.
public static Color getBlue()
Gets a system-defined color that has an ARGB value of #FF0000FF.
public static Color getBlueViolet()
Gets a system-defined color that has an ARGB value of #FF8A2BE2.
public static Color getBrown()
Gets a system-defined color that has an ARGB value of #FFA52A2A.
public static Color getBurlyWood()
Gets a system-defined color that has an ARGB value of #FFDEB887.
public static Color getCadetBlue()
Gets a system-defined color that has an ARGB value of #FF5F9EA0.
public static Color getChartreuse()
Gets a system-defined color that has an ARGB value of #FF7FFF00.
public static Color getChocolate()
Gets a system-defined color that has an ARGB value of #FFD2691E.
public static Color getCoral()
Gets a system-defined color that has an ARGB value of #FFFF7F50.
public static Color getCornflowerBlue()
Gets a system-defined color that has an ARGB value of #FF6495ED.
public static Color getCornsilk()
Gets a system-defined color that has an ARGB value of #FFFFF8DC.
public static Color getCrimson()
Gets a system-defined color that has an ARGB value of #FFDC143C.
public static Color getCyan()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
public static Color getDarkBlue()
Gets a system-defined color that has an ARGB value of #FF00008B.
public static Color getDarkCyan()
Gets a system-defined color that has an ARGB value of #FF008B8B.
public static Color getDarkGoldenrod()
Gets a system-defined color that has an ARGB value of #FFB8860B.
public static Color getDarkGray()
Gets a system-defined color that has an ARGB value of #FFA9A9A9.
public static Color getDarkGreen()
Gets a system-defined color that has an ARGB value of #FF006400.
public static Color getDarkKhaki()
Gets a system-defined color that has an ARGB value of #FFBDB76B.
public static Color getDarkMagenta()
Gets a system-defined color that has an ARGB value of #FF8B008B.
public static Color getDarkOliveGreen()
Gets a system-defined color that has an ARGB value of #FF556B2F.
public static Color getDarkOrange()
Gets a system-defined color that has an ARGB value of #FFFF8C00.
public static Color getDarkOrchid()
Gets a system-defined color that has an ARGB value of #FF9932CC.
public static Color getDarkRed()
Gets a system-defined color that has an ARGB value of #FF8B0000.
public static Color getDarkSalmon()
Gets a system-defined color that has an ARGB value of #FFE9967A.
public static Color getDarkSeaGreen()
Gets a system-defined color that has an ARGB value of #FF8FBC8F.
public static Color getDarkSlateBlue()
Gets a system-defined color that has an ARGB value of #FF483D8B.
public static Color getDarkSlateGray()
Gets a system-defined color that has an ARGB value of #FF2F4F4F.
public static Color getDarkTurquoise()
Gets a system-defined color that has an ARGB value of #FF00CED1.
public static Color getDarkViolet()
Gets a system-defined color that has an ARGB value of #FF9400D3.
public static Color getDeepPink()
Gets a system-defined color that has an ARGB value of #FFFF1493.
public static Color getDeepSkyBlue()
Gets a system-defined color that has an ARGB value of #FF00BFFF.
public static Color getDimGray()
Gets a system-defined color that has an ARGB value of #FF696969.
public static Color getDodgerBlue()
Gets a system-defined color that has an ARGB value of #FF1E90FF.
public static Color getFirebrick()
Gets a system-defined color that has an ARGB value of #FFB22222.
public static Color getFloralWhite()
Gets a system-defined color that has an ARGB value of #FFFFFAF0.
public static Color getForestGreen()
Gets a system-defined color that has an ARGB value of #FF228B22.
public static Color getFuchsia()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
public static Color getGainsboro()
Gets a system-defined color that has an ARGB value of #FFDCDCDC.
public static Color getGhostWhite()
Gets a system-defined color that has an ARGB value of #FFF8F8FF.
public static Color getGold()
Gets a system-defined color that has an ARGB value of #FFFFD700.
public static Color getGoldenrod()
Gets a system-defined color that has an ARGB value of #FFDAA520.
public static Color getGray()
Gets a system-defined color that has an ARGB value of #FF808080.
public static Color getGreen()
Gets a system-defined color that has an ARGB value of #FF008000.
public static Color getGreenYellow()
Gets a system-defined color that has an ARGB value of #FFADFF2F.
public static Color getHoneydew()
Gets a system-defined color that has an ARGB value of #FFF0FFF0.
public static Color getHotPink()
Gets a system-defined color that has an ARGB value of #FFFF69B4.
public static Color getIndianRed()
Gets a system-defined color that has an ARGB value of #FFCD5C5C.
public static Color getIndigo()
Gets a system-defined color that has an ARGB value of #FF4B0082.
public static Color getIvory()
Gets a system-defined color that has an ARGB value of #FFFFFFF0.
public static Color getKhaki()
Gets a system-defined color that has an ARGB value of #FFF0E68C.
public static Color getLavender()
Gets a system-defined color that has an ARGB value of #FFE6E6FA.
public static Color getLavenderBlush()
Gets a system-defined color that has an ARGB value of #FFFFF0F5.
public static Color getLawnGreen()
Gets a system-defined color that has an ARGB value of #FF7CFC00.
public static Color getLemonChiffon()
Gets a system-defined color that has an ARGB value of #FFFFFACD.
public static Color getLightBlue()
Gets a system-defined color that has an ARGB value of #FFADD8E6.
public static Color getLightCoral()
Gets a system-defined color that has an ARGB value of #FFF08080.
public static Color getLightCyan()
Gets a system-defined color that has an ARGB value of #FFE0FFFF.
public static Color getLightGoldenrodYellow()
Gets a system-defined color that has an ARGB value of #FFFAFAD2.
public static Color getLightGreen()
Gets a system-defined color that has an ARGB value of #FF90EE90.
public static Color getLightGray()
Gets a system-defined color that has an ARGB value of #FFD3D3D3.
public static Color getLightPink()
Gets a system-defined color that has an ARGB value of #FFFFB6C1.
public static Color getLightSalmon()
Gets a system-defined color that has an ARGB value of #FFFFA07A.
public static Color getLightSeaGreen()
Gets a system-defined color that has an ARGB value of #FF20B2AA.
public static Color getLightSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEFA.
public static Color getLightSlateGray()
Gets a system-defined color that has an ARGB value of #FF778899.
public static Color getLightSteelBlue()
Gets a system-defined color that has an ARGB value of #FFB0C4DE.
public static Color getLightYellow()
Gets a system-defined color that has an ARGB value of #FFFFFFE0.
public static Color getLime()
Gets a system-defined color that has an ARGB value of #FF00FF00.
public static Color getLimeGreen()
Gets a system-defined color that has an ARGB value of #FF32CD32.
public static Color getLinen()
Gets a system-defined color that has an ARGB value of #FFFAF0E6.
public static Color getMagenta()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
public static Color getMaroon()
Gets a system-defined color that has an ARGB value of #FF800000.
public static Color getMediumAquamarine()
Gets a system-defined color that has an ARGB value of #FF66CDAA.
public static Color getMediumBlue()
Gets a system-defined color that has an ARGB value of #FF0000CD.
public static Color getMediumOrchid()
Gets a system-defined color that has an ARGB value of #FFBA55D3.
public static Color getMediumPurple()
Gets a system-defined color that has an ARGB value of #FF9370DB.
public static Color getMediumSeaGreen()
Gets a system-defined color that has an ARGB value of #FF3CB371.
public static Color getMediumSlateBlue()
Gets a system-defined color that has an ARGB value of #FF7B68EE.
public static Color getMediumSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FA9A.
public static Color getMediumTurquoise()
Gets a system-defined color that has an ARGB value of #FF48D1CC.
public static Color getMediumVioletRed()
Gets a system-defined color that has an ARGB value of #FFC71585.
public static Color getMidnightBlue()
Gets a system-defined color that has an ARGB value of #FF191970.
public static Color getMintCream()
Gets a system-defined color that has an ARGB value of #FFF5FFFA.
public static Color getMistyRose()
Gets a system-defined color that has an ARGB value of #FFFFE4E1.
public static Color getMoccasin()
Gets a system-defined color that has an ARGB value of #FFFFE4B5.
public static Color getNavajoWhite()
Gets a system-defined color that has an ARGB value of #FFFFDEAD.
public static Color getNavy()
Gets a system-defined color that has an ARGB value of #FF000080.
public static Color getOldLace()
Gets a system-defined color that has an ARGB value of #FFFDF5E6.
public static Color getOlive()
Gets a system-defined color that has an ARGB value of #FF808000.
public static Color getOliveDrab()
Gets a system-defined color that has an ARGB value of #FF6B8E23.
public static Color getOrange()
Gets a system-defined color that has an ARGB value of #FFFFA500.
public static Color getOrangeRed()
Gets a system-defined color that has an ARGB value of #FFFF4500.
public static Color getOrchid()
Gets a system-defined color that has an ARGB value of #FFDA70D6.
public static Color getPaleGoldenrod()
Gets a system-defined color that has an ARGB value of #FFEEE8AA.
public static Color getPaleGreen()
Gets a system-defined color that has an ARGB value of #FF98FB98.
public static Color getPaleTurquoise()
Gets a system-defined color that has an ARGB value of #FFAFEEEE.
public static Color getPaleVioletRed()
Gets a system-defined color that has an ARGB value of #FFDB7093.
public static Color getPapayaWhip()
Gets a system-defined color that has an ARGB value of #FFFFEFD5.
public static Color getPeachPuff()
Gets a system-defined color that has an ARGB value of #FFFFDAB9.
public static Color getPeru()
Gets a system-defined color that has an ARGB value of #FFCD853F.
public static Color getPink()
Gets a system-defined color that has an ARGB value of #FFFFC0CB.
public static Color getPlum()
Gets a system-defined color that has an ARGB value of #FFDDA0DD.
public static Color getPowderBlue()
Gets a system-defined color that has an ARGB value of #FFB0E0E6.
public static Color getPurple()
Gets a system-defined color that has an ARGB value of #FF800080.
public static Color getRed()
Gets a system-defined color that has an ARGB value of #FFFF0000.
public static Color getRosyBrown()
Gets a system-defined color that has an ARGB value of #FFBC8F8F.
public static Color getRoyalBlue()
Gets a system-defined color that has an ARGB value of #FF4169E1.
public static Color getSaddleBrown()
Gets a system-defined color that has an ARGB value of #FF8B4513.
public static Color getSalmon()
Gets a system-defined color that has an ARGB value of #FFFA8072.
public static Color getSandyBrown()
Gets a system-defined color that has an ARGB value of #FFF4A460.
public static Color getSeaGreen()
Gets a system-defined color that has an ARGB value of #FF2E8B57.
public static Color getSeaShell()
Gets a system-defined color that has an ARGB value of #FFFFF5EE.
public static Color getSienna()
Gets a system-defined color that has an ARGB value of #FFA0522D.
public static Color getSilver()
Gets a system-defined color that has an ARGB value of #FFC0C0C0.
public static Color getSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEEB.
public static Color getSlateBlue()
Gets a system-defined color that has an ARGB value of #FF6A5ACD.
public static Color getSlateGray()
Gets a system-defined color that has an ARGB value of #FF708090.
public static Color getSnow()
Gets a system-defined color that has an ARGB value of #FFFFFAFA.
public static Color getSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FF7F.
public static Color getSteelBlue()
Gets a system-defined color that has an ARGB value of #FF4682B4.
public static Color getTan()
Gets a system-defined color that has an ARGB value of #FFD2B48C.
public static Color getTeal()
Gets a system-defined color that has an ARGB value of #FF008080.
public static Color getThistle()
Gets a system-defined color that has an ARGB value of #FFD8BFD8.
public static Color getTomato()
Gets a system-defined color that has an ARGB value of #FFFF6347.
public static Color getTurquoise()
Gets a system-defined color that has an ARGB value of #FF40E0D0.
public static Color getViolet()
Gets a system-defined color that has an ARGB value of #FFEE82EE.
public static Color getWheat()
Gets a system-defined color that has an ARGB value of #FFF5DEB3.
public static Color getWhite()
Gets a system-defined color that has an ARGB value of #FFFFFFFF.
public static Color getWhiteSmoke()
Gets a system-defined color that has an ARGB value of #FFF5F5F5.
public static Color getYellow()
Gets a system-defined color that has an ARGB value of #FFFFFF00.
public static Color getYellowGreen()
Gets a system-defined color that has an ARGB value of #FF9ACD32.