Package com.grapecity.documents.excel
Class Color
java.lang.Object
com.grapecity.documents.excel.Color
Creates the color structure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether the specified object is a Color structure and is equivalent to this Color structure.static ColorFromArgb(int argb) Creates a Color structure from a 32-bit ARGB value.static ColorFromArgb(int red, int green, int blue) Creates a Color structure from the specified 8-bit color values (red, green, and blue).static ColorFromArgb(int alpha, int red, int green, int blue) Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values.static ColorCreates a Color structure from the specified Color structure, but with the new specified alpha value.intgetA()Gets the alpha byte value of the color.static ColorGets a color that has an ARGB value of #FFF0F8FF.static ColorGets a color that has an ARGB value of #FFFAEBD7.static ColorGetAqua()Gets a color that has an ARGB value of #FF00FFFF.static ColorGets a color that has an ARGB value of #FF7FFFD4.static ColorGetAzure()Gets a color that has an ARGB value of #FFF0FFFF.intgetB()Gets the blue byte value of the color.static ColorGetBeige()Gets a color that has an ARGB value of #FFF5F5DC.static ColorGets a color that has an ARGB value of #FFFFE4C4.static ColorGetBlack()Gets a color that has an ARGB value of #FF000000.static ColorGets a color that has an ARGB value of #FFFFEBCD.static ColorGetBlue()Gets a color that has an ARGB value of #FF0000FF.static ColorGets a color that has an ARGB value of #FF8A2BE2.floatGets the hue-saturation-brightness (HSB) brightness value for this Color structure.static ColorGetBrown()Gets a color that has an ARGB value of #FFA52A2A.static ColorGets a color that has an ARGB value of #FFDEB887.static ColorGets a color that has an ARGB value of #FF5F9EA0.static ColorGets a color that has an ARGB value of #FF7FFF00.static ColorGets a color that has an ARGB value of #FFD2691E.static ColorGetCoral()Gets a color that has an ARGB value of #FFFF7F50.static ColorGets a color that has an ARGB value of #FF6495ED.static ColorGets a color that has an ARGB value of #FFFFF8DC.static ColorGets a color that has an ARGB value of #FFDC143C.static ColorGetCyan()Gets a color that has an ARGB value of #FF00FFFF.static ColorGets a color that has an ARGB value of #FF00008B.static ColorGets a color that has an ARGB value of #FF008B8B.static ColorGets a color that has an ARGB value of #FFB8860B.static ColorGets a color that has an ARGB value of #FFA9A9A9.static ColorGets a color that has an ARGB value of #FF006400.static ColorGets a color that has an ARGB value of #FFBDB76B.static ColorGets a color that has an ARGB value of #FF8B008B.static ColorGets a color that has an ARGB value of #FF556B2F.static ColorGets a color that has an ARGB value of #FFFF8C00.static ColorGets a color that has an ARGB value of #FF9932CC.static ColorGets a color that has an ARGB value of #FF8B0000.static ColorGets a color that has an ARGB value of #FFE9967A.static ColorGets a color that has an ARGB value of #FF8FBC8F.static ColorGets a color that has an ARGB value of #FF483D8B.static ColorGets a color that has an ARGB value of #FF2F4F4F.static ColorGets a color that has an ARGB value of #FF00CED1.static ColorGets a color that has an ARGB value of #FF9400D3.static ColorGets a color that has an ARGB value of #FFFF1493.static ColorGets a color that has an ARGB value of #FF00BFFF.static ColorGets a color that has an ARGB value of #FF696969.static ColorGets a color that has an ARGB value of #FF1E90FF.static ColorGets a color that has an ARGB value of #FFB22222.static ColorGets a color that has an ARGB value of #FFFFFAF0.static ColorGets a color that has an ARGB value of #FF228B22.static ColorGets a color that has an ARGB value of #FFFF00FF.intgetG()Gets the green byte value of the color.static ColorGets a color that has an ARGB value of #FFDCDCDC.static ColorGets a color that has an ARGB value of #FFF8F8FF.static ColorGetGold()Gets a color that has an ARGB value of #FFFFD700.static ColorGets a color that has an ARGB value of #FFDAA520.static ColorGetGray()Gets a color that has an ARGB value of #FF808080.static ColorGetGreen()Gets a color that has an ARGB value of #FF008000.static ColorGets a color that has an ARGB value of #FFADFF2F.static ColorGets a color that has an ARGB value of #FFF0FFF0.static ColorGets a color that has an ARGB value of #FFFF69B4.floatgetHue()Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.static ColorGets a color that has an ARGB value of #FFCD5C5C.static ColorGets a color that has an ARGB value of #FF4B0082.booleanGets a value indicating whether this color is empty.booleanGets a value indicating whether this color is named color.static ColorGetIvory()Gets a color that has an ARGB value of #FFFFFFF0.static ColorGetKhaki()Gets a color that has an ARGB value of #FFF0E68C.static ColorGets a color that has an ARGB value of #FFE6E6FA.static ColorGets a color that has an ARGB value of #FFFFF0F5.static ColorGets a color that has an ARGB value of #FF7CFC00.static ColorGets a color that has an ARGB value of #FFFFFACD.static ColorGets a color that has an ARGB value of #FFADD8E6.static ColorGets a color that has an ARGB value of #FFF08080.static ColorGets a color that has an ARGB value of #FFE0FFFF.static ColorGets a color that has an ARGB value of #FFFAFAD2.static ColorGets a color that has an ARGB value of #FFD3D3D3.static ColorGets a color that has an ARGB value of #FF90EE90.static ColorGets a color that has an ARGB value of #FFFFB6C1.static ColorGets a color that has an ARGB value of #FFFFA07A.static ColorGets a color that has an ARGB value of #FF20B2AA.static ColorGets a color that has an ARGB value of #FF87CEFA.static ColorGets a color that has an ARGB value of #FF778899.static ColorGets a color that has an ARGB value of #FFB0C4DE.static ColorGets a color that has an ARGB value of #FFFFFFE0.static ColorGetLime()Gets a color that has an ARGB value of #FF00FF00.static ColorGets a color that has an ARGB value of #FF32CD32.static ColorGetLinen()Gets a color that has an ARGB value of #FFFAF0E6.static ColorGets a color that has an ARGB value of #FFFF00FF.static ColorGets a color that has an ARGB value of #FF800000.static ColorGets a color that has an ARGB value of #FF66CDAA.static ColorGets a color that has an ARGB value of #FF0000CD.static ColorGets a color that has an ARGB value of #FFBA55D3.static ColorGets a color that has an ARGB value of #FF9370DB.static ColorGets a color that has an ARGB value of #FF3CB371.static ColorGets a color that has an ARGB value of #FF7B68EE.static ColorGets a color that has an ARGB value of #FF00FA9A.static ColorGets a color that has an ARGB value of #FF48D1CC.static ColorGets a color that has an ARGB value of #FFC71585.static ColorGets a color that has an ARGB value of #FF191970.static ColorGets a color that has an ARGB value of #FFF5FFFA.static ColorGets a color that has an ARGB value of #FFFFE4E1.static ColorGets a color that has an ARGB value of #FFFFE4B5.getName()Gets the color name.static ColorGets a color that has an ARGB value of #FFFFDEAD.static ColorGetNavy()Gets a color that has an ARGB value of #FF000080.static ColorGets a color that has an ARGB value of #FFFDF5E6.static ColorGetOlive()Gets a color that has an ARGB value of #FF808000.static ColorGets a color that has an ARGB value of #FF6B8E23.static ColorGets a color that has an ARGB value of #FFFFA500.static ColorGets a color that has an ARGB value of #FFFF4500.static ColorGets a color that has an ARGB value of #FFDA70D6.static ColorGets a color that has an ARGB value of #FFEEE8AA.static ColorGets a color that has an ARGB value of #FF98FB98.static ColorGets a color that has an ARGB value of #FFAFEEEE.static ColorGets a color that has an ARGB value of #FFDB7093.static ColorGets a color that has an ARGB value of #FFFFEFD5.static ColorGets a color that has an ARGB value of #FFFFDAB9.static ColorGetPeru()Gets a color that has an ARGB value of #FFCD853F.static ColorGetPink()Gets a color that has an ARGB value of #FFFFC0CB.static ColorGetPlum()Gets a color that has an ARGB value of #FFDDA0DD.static ColorGets a color that has an ARGB value of #FFB0E0E6.static ColorGets a color that has an ARGB value of #FF800080.intgetR()Gets the red byte value of the color.static ColorGetRed()Gets a color that has an ARGB value of #FFFF0000.static ColorGets a color that has an ARGB value of #FFBC8F8F.static ColorGets a color that has an ARGB value of #FF4169E1.static ColorGets a color that has an ARGB value of #FF8B4513.static ColorGets a color that has an ARGB value of #FFFA8072.static ColorGets a color that has an ARGB value of #FFF4A460.floatGets the hue-saturation-brightness (HSB) saturation value for this Color structure.static ColorGets a color that has an ARGB value of #FF2E8B57.static ColorGets a color that has an ARGB value of #FFFFF5EE.static ColorGets a color that has an ARGB value of #FFA0522D.static ColorGets a color that has an ARGB value of #FFC0C0C0.static ColorGets a color that has an ARGB value of #FF87CEEB.static ColorGets a color that has an ARGB value of #FF6A5ACD.static ColorGets a color that has an ARGB value of #FF708090.static ColorGetSnow()Gets a color that has an ARGB value of #FFFFFAFA.static ColorGets a color that has an ARGB value of #FF00FF7F.static ColorGets a color that has an ARGB value of #FF4682B4.static ColorGetTan()Gets a color that has an ARGB value of #FFD2B48C.static ColorGetTeal()Gets a color that has an ARGB value of #FF008080.static ColorGets a color that has an ARGB value of #FFD8BFD8.static ColorGets a color that has an ARGB value of #FFFF6347.static ColorGets transparent color.static ColorGets a color that has an ARGB value of #FF40E0D0.static ColorGets a color that has an ARGB value of #FFEE82EE.static ColorGetWheat()Gets a color that has an ARGB value of #FFF5DEB3.static ColorGetWhite()Gets a color that has an ARGB value of #FFFFFFFF.static ColorGets a color that has an ARGB value of #FFF5F5F5.static ColorThe color of the background in the client area of a window.static ColorThe color of the text in the client area of a window.static ColorGets a color that has an ARGB value of #FFFFFF00.static ColorGets a color that has an ARGB value of #FF9ACD32.inthashCode()Returns a hash code for this instance.inttoArgb()Gets the 32-bit ARGB value of this Color structure.toString()Converts this Color structure to a human-readable string.
-
Constructor Details
-
Color
public Color()Constructs a new Color object.
-
-
Method Details
-
GetTransparent
Gets transparent color.- Returns:
- A transparent color.
-
GetAliceBlue
Gets a color that has an ARGB value of #FFF0F8FF.- Returns:
- A color that has an ARGB value of #FFF0F8FF.
-
GetAntiqueWhite
Gets a color that has an ARGB value of #FFFAEBD7.- Returns:
- A color that has an ARGB value of #FFFAEBD7.
-
GetAqua
Gets a color that has an ARGB value of #FF00FFFF.- Returns:
- A color that has an ARGB value of #FF00FFFF.
-
GetAquamarine
Gets a color that has an ARGB value of #FF7FFFD4.- Returns:
- A color that has an ARGB value of #FF7FFFD4.
-
GetAzure
Gets a color that has an ARGB value of #FFF0FFFF.- Returns:
- A color that has an ARGB value of #FFF0FFFF.
-
GetBeige
Gets a color that has an ARGB value of #FFF5F5DC.- Returns:
- A color that has an ARGB value of #FFF5F5DC.
-
GetBisque
Gets a color that has an ARGB value of #FFFFE4C4.- Returns:
- A color that has an ARGB value of #FFFFE4C4.
-
GetBlack
Gets a color that has an ARGB value of #FF000000.- Returns:
- A color that has an ARGB value of #FF000000.
-
GetWindow
The color of the background in the client area of a window.- Returns:
- A color of the background in the client area of a window.
-
GetWindowText
The color of the text in the client area of a window.- Returns:
- A color of the text in the client area of a window.
-
GetBlanchedAlmond
Gets a color that has an ARGB value of #FFFFEBCD.- Returns:
- A color that has an ARGB value of #FFFFEBCD.
-
GetBlue
Gets a color that has an ARGB value of #FF0000FF.- Returns:
- A color that has an ARGB value of #FF0000FF.
-
GetBlueViolet
Gets a color that has an ARGB value of #FF8A2BE2.- Returns:
- A color that has an ARGB value of #FF8A2BE2.
-
GetBrown
Gets a color that has an ARGB value of #FFA52A2A.- Returns:
- A color that has an ARGB value of #FFA52A2A.
-
GetBurlyWood
Gets a color that has an ARGB value of #FFDEB887.- Returns:
- A color that has an ARGB value of #FFDEB887.
-
GetCadetBlue
Gets a color that has an ARGB value of #FF5F9EA0.- Returns:
- A color that has an ARGB value of #FF5F9EA0.
-
GetChartreuse
Gets a color that has an ARGB value of #FF7FFF00.- Returns:
- A color that has an ARGB value of #FF7FFF00.
-
GetChocolate
Gets a color that has an ARGB value of #FFD2691E.- Returns:
- A color that has an ARGB value of #FFD2691E.
-
GetCoral
Gets a color that has an ARGB value of #FFFF7F50.- Returns:
- A color that has an ARGB value of #FFFF7F50.
-
GetCornflowerBlue
Gets a color that has an ARGB value of #FF6495ED.- Returns:
- A color that has an ARGB value of #FF6495ED.
-
GetCornsilk
Gets a color that has an ARGB value of #FFFFF8DC.- Returns:
- A color that has an ARGB value of #FFFFF8DC.
-
GetCrimson
Gets a color that has an ARGB value of #FFDC143C.- Returns:
- A color that has an ARGB value of #FFDC143C.
-
GetCyan
Gets a color that has an ARGB value of #FF00FFFF.- Returns:
- A color that has an ARGB value of #FF00FFFF.
-
GetDarkBlue
Gets a color that has an ARGB value of #FF00008B.- Returns:
- A color that has an ARGB value of #FF00008B.
-
GetDarkCyan
Gets a color that has an ARGB value of #FF008B8B.- Returns:
- A color that has an ARGB value of #FF008B8B.
-
GetDarkGoldenrod
Gets a color that has an ARGB value of #FFB8860B.- Returns:
- A color that has an ARGB value of #FFB8860B.
-
GetDarkGray
Gets a color that has an ARGB value of #FFA9A9A9.- Returns:
- A color that has an ARGB value of #FFA9A9A9.
-
GetDarkGreen
Gets a color that has an ARGB value of #FF006400.- Returns:
- A color that has an ARGB value of #FF006400.
-
GetDarkKhaki
Gets a color that has an ARGB value of #FFBDB76B.- Returns:
- A color that has an ARGB value of #FFBDB76B.
-
GetDarkMagenta
Gets a color that has an ARGB value of #FF8B008B.- Returns:
- A color that has an ARGB value of #FF8B008B.
-
GetDarkOliveGreen
Gets a color that has an ARGB value of #FF556B2F.- Returns:
- A color that has an ARGB value of #FF556B2F.
-
GetDarkOrange
Gets a color that has an ARGB value of #FFFF8C00.- Returns:
- A color that has an ARGB value of #FFFF8C00.
-
GetDarkOrchid
Gets a color that has an ARGB value of #FF9932CC.- Returns:
- A color that has an ARGB value of #FF9932CC.
-
GetDarkRed
Gets a color that has an ARGB value of #FF8B0000.- Returns:
- A color that has an ARGB value of #FF8B0000.
-
GetDarkSalmon
Gets a color that has an ARGB value of #FFE9967A.- Returns:
- A color that has an ARGB value of #FFE9967A.
-
GetDarkSeaGreen
Gets a color that has an ARGB value of #FF8FBC8F.- Returns:
- A color that has an ARGB value of #FF8FBC8F.
-
GetDarkSlateBlue
Gets a color that has an ARGB value of #FF483D8B.- Returns:
- A color that has an ARGB value of #FF483D8B.
-
GetDarkSlateGray
Gets a color that has an ARGB value of #FF2F4F4F.- Returns:
- A color that has an ARGB value of #FF2F4F4F.
-
GetDarkTurquoise
Gets a color that has an ARGB value of #FF00CED1.- Returns:
- A color that has an ARGB value of #FF00CED1.
-
GetDarkViolet
Gets a color that has an ARGB value of #FF9400D3.- Returns:
- A color that has an ARGB value of #FF9400D3.
-
GetDeepPink
Gets a color that has an ARGB value of #FFFF1493.- Returns:
- A color that has an ARGB value of #FFFF1493.
-
GetDeepSkyBlue
Gets a color that has an ARGB value of #FF00BFFF.- Returns:
- A color that has an ARGB value of #FF00BFFF.
-
GetDimGray
Gets a color that has an ARGB value of #FF696969.- Returns:
- A color that has an ARGB value of #FF696969.
-
GetDodgerBlue
Gets a color that has an ARGB value of #FF1E90FF.- Returns:
- A color that has an ARGB value of #FF1E90FF.
-
GetFirebrick
Gets a color that has an ARGB value of #FFB22222.- Returns:
- A color that has an ARGB value of #FFB22222.
-
GetFloralWhite
Gets a color that has an ARGB value of #FFFFFAF0.- Returns:
- A color that has an ARGB value of #FFFFFAF0.
-
GetForestGreen
Gets a color that has an ARGB value of #FF228B22.- Returns:
- A color that has an ARGB value of #FF228B22.
-
GetFuchsia
Gets a color that has an ARGB value of #FFFF00FF.- Returns:
- A color that has an ARGB value of #FFFF00FF.
-
GetGainsboro
Gets a color that has an ARGB value of #FFDCDCDC.- Returns:
- A color that has an ARGB value of #FFDCDCDC.
-
GetGhostWhite
Gets a color that has an ARGB value of #FFF8F8FF.- Returns:
- A color that has an ARGB value of #FFF8F8FF.
-
GetGold
Gets a color that has an ARGB value of #FFFFD700.- Returns:
- A color that has an ARGB value of #FFFFD700.
-
GetGoldenrod
Gets a color that has an ARGB value of #FFDAA520.- Returns:
- A color that has an ARGB value of #FFDAA520.
-
GetGray
Gets a color that has an ARGB value of #FF808080.- Returns:
- A color that has an ARGB value of #FF808080.
-
GetGreen
Gets a color that has an ARGB value of #FF008000.- Returns:
- A color that has an ARGB value of #FF008000.
-
GetGreenYellow
Gets a color that has an ARGB value of #FFADFF2F.- Returns:
- A color that has an ARGB value of #FFADFF2F.
-
GetHoneydew
Gets a color that has an ARGB value of #FFF0FFF0.- Returns:
- A color that has an ARGB value of #FFF0FFF0.
-
GetHotPink
Gets a color that has an ARGB value of #FFFF69B4.- Returns:
- A color that has an ARGB value of #FFFF69B4.
-
GetIndianRed
Gets a color that has an ARGB value of #FFCD5C5C.- Returns:
- A color that has an ARGB value of #FFCD5C5C.
-
GetIndigo
Gets a color that has an ARGB value of #FF4B0082.- Returns:
- A color that has an ARGB value of #FF4B0082.
-
GetIvory
Gets a color that has an ARGB value of #FFFFFFF0.- Returns:
- A color that has an ARGB value of #FFFFFFF0.
-
GetKhaki
Gets a color that has an ARGB value of #FFF0E68C.- Returns:
- A color that has an ARGB value of #FFF0E68C.
-
GetLavender
Gets a color that has an ARGB value of #FFE6E6FA.- Returns:
- A color that has an ARGB value of #FFE6E6FA.
-
GetLavenderBlush
Gets a color that has an ARGB value of #FFFFF0F5.- Returns:
- A color that has an ARGB value of #FFFFF0F5.
-
GetLawnGreen
Gets a color that has an ARGB value of #FF7CFC00.- Returns:
- A color that has an ARGB value of #FF7CFC00.
-
GetLemonChiffon
Gets a color that has an ARGB value of #FFFFFACD.- Returns:
- A color that has an ARGB value of #FFFFFACD.
-
GetLightBlue
Gets a color that has an ARGB value of #FFADD8E6.- Returns:
- A color that has an ARGB value of #FFADD8E6.
-
GetLightCoral
Gets a color that has an ARGB value of #FFF08080.- Returns:
- A color that has an ARGB value of #FFF08080.
-
GetLightCyan
Gets a color that has an ARGB value of #FFE0FFFF.- Returns:
- A color that has an ARGB value of #FFE0FFFF.
-
GetLightGoldenrodYellow
Gets a color that has an ARGB value of #FFFAFAD2.- Returns:
- A color that has an ARGB value of #FFFAFAD2.
-
GetLightGray
Gets a color that has an ARGB value of #FFD3D3D3.- Returns:
- A color that has an ARGB value of #FFD3D3D3.
-
GetLightGreen
Gets a color that has an ARGB value of #FF90EE90.- Returns:
- A color that has an ARGB value of #FF90EE90.
-
GetLightPink
Gets a color that has an ARGB value of #FFFFB6C1.- Returns:
- A color that has an ARGB value of #FFFFB6C1.
-
GetLightSalmon
Gets a color that has an ARGB value of #FFFFA07A.- Returns:
- A color that has an ARGB value of #FFFFA07A.
-
GetLightSeaGreen
Gets a color that has an ARGB value of #FF20B2AA.- Returns:
- A color that has an ARGB value of #FF20B2AA.
-
GetLightSkyBlue
Gets a color that has an ARGB value of #FF87CEFA.- Returns:
- A color that has an ARGB value of #FF87CEFA.
-
GetLightSlateGray
Gets a color that has an ARGB value of #FF778899.- Returns:
- A color that has an ARGB value of #FF778899.
-
GetLightSteelBlue
Gets a color that has an ARGB value of #FFB0C4DE.- Returns:
- A color that has an ARGB value of #FFB0C4DE.
-
GetLightYellow
Gets a color that has an ARGB value of #FFFFFFE0.- Returns:
- A color that has an ARGB value of #FFFFFFE0.
-
GetLime
Gets a color that has an ARGB value of #FF00FF00.- Returns:
- A color that has an ARGB value of #FF00FF00.
-
GetLimeGreen
Gets a color that has an ARGB value of #FF32CD32.- Returns:
- A color that has an ARGB value of #FF32CD32.
-
GetLinen
Gets a color that has an ARGB value of #FFFAF0E6.- Returns:
- A color that has an ARGB value of #FFFAF0E6.
-
GetMagenta
Gets a color that has an ARGB value of #FFFF00FF.- Returns:
- A color that has an ARGB value of #FFFF00FF.
-
GetMaroon
Gets a color that has an ARGB value of #FF800000.- Returns:
- A color that has an ARGB value of #FF800000.
-
GetMediumAquamarine
Gets a color that has an ARGB value of #FF66CDAA.- Returns:
- A color that has an ARGB value of #FF66CDAA.
-
GetMediumBlue
Gets a color that has an ARGB value of #FF0000CD.- Returns:
- A color that has an ARGB value of #FF0000CD.
-
GetMediumOrchid
Gets a color that has an ARGB value of #FFBA55D3.- Returns:
- A color that has an ARGB value of #FFBA55D3.
-
GetMediumPurple
Gets a color that has an ARGB value of #FF9370DB.- Returns:
- A color that has an ARGB value of #FF9370DB.
-
GetMediumSeaGreen
Gets a color that has an ARGB value of #FF3CB371.- Returns:
- A color that has an ARGB value of #FF3CB371.
-
GetMediumSlateBlue
Gets a color that has an ARGB value of #FF7B68EE.- Returns:
- A color that has an ARGB value of #FF7B68EE.
-
GetMediumSpringGreen
Gets a color that has an ARGB value of #FF00FA9A.- Returns:
- A color that has an ARGB value of #FF00FA9A.
-
GetMediumTurquoise
Gets a color that has an ARGB value of #FF48D1CC.- Returns:
- A color that has an ARGB value of #FF48D1CC.
-
GetMediumVioletRed
Gets a color that has an ARGB value of #FFC71585.- Returns:
- A color that has an ARGB value of #FFC71585.
-
GetMidnightBlue
Gets a color that has an ARGB value of #FF191970.- Returns:
- A color that has an ARGB value of #FF191970.
-
GetMintCream
Gets a color that has an ARGB value of #FFF5FFFA.- Returns:
- A color that has an ARGB value of #FFF5FFFA.
-
GetMistyRose
Gets a color that has an ARGB value of #FFFFE4E1.- Returns:
- A color that has an ARGB value of #FFFFE4E1.
-
GetMoccasin
Gets a color that has an ARGB value of #FFFFE4B5.- Returns:
- A color that has an ARGB value of #FFFFE4B5.
-
GetOldLace
Gets a color that has an ARGB value of #FFFDF5E6.- Returns:
- A color that has an ARGB value of #FFFDF5E6.
-
GetOlive
Gets a color that has an ARGB value of #FF808000.- Returns:
- A color that has an ARGB value of #FF808000.
-
GetOliveDrab
Gets a color that has an ARGB value of #FF6B8E23.- Returns:
- A color that has an ARGB value of #FF6B8E23.
-
GetOrange
Gets a color that has an ARGB value of #FFFFA500.- Returns:
- A color that has an ARGB value of #FFFFA500.
-
GetOrangeRed
Gets a color that has an ARGB value of #FFFF4500.- Returns:
- A color that has an ARGB value of #FFFF4500.
-
GetOrchid
Gets a color that has an ARGB value of #FFDA70D6.- Returns:
- A color that has an ARGB value of #FFDA70D6.
-
GetPaleGoldenrod
Gets a color that has an ARGB value of #FFEEE8AA.- Returns:
- A color that has an ARGB value of #FFEEE8AA.
-
GetPaleGreen
Gets a color that has an ARGB value of #FF98FB98.- Returns:
- A color that has an ARGB value of #FF98FB98.
-
GetPaleTurquoise
Gets a color that has an ARGB value of #FFAFEEEE.- Returns:
- A color that has an ARGB value of #FFAFEEEE.
-
GetPaleVioletRed
Gets a color that has an ARGB value of #FFDB7093.- Returns:
- A color that has an ARGB value of #FFDB7093.
-
GetPapayaWhip
Gets a color that has an ARGB value of #FFFFEFD5.- Returns:
- A color that has an ARGB value of #FFFFEFD5.
-
GetPeachPuff
Gets a color that has an ARGB value of #FFFFDAB9.- Returns:
- A color that has an ARGB value of #FFFFDAB9.
-
GetPeru
Gets a color that has an ARGB value of #FFCD853F.- Returns:
- A color that has an ARGB value of #FFCD853F.
-
GetPink
Gets a color that has an ARGB value of #FFFFC0CB.- Returns:
- A color that has an ARGB value of #FFFFC0CB.
-
GetPlum
Gets a color that has an ARGB value of #FFDDA0DD.- Returns:
- A color that has an ARGB value of #FFDDA0DD.
-
GetPowderBlue
Gets a color that has an ARGB value of #FFB0E0E6.- Returns:
- A color that has an ARGB value of #FFB0E0E6.
-
GetPurple
Gets a color that has an ARGB value of #FF800080.- Returns:
- A color that has an ARGB value of #FF800080.
-
GetRed
Gets a color that has an ARGB value of #FFFF0000.- Returns:
- A color that has an ARGB value of #FFFF0000.
-
GetRosyBrown
Gets a color that has an ARGB value of #FFBC8F8F.- Returns:
- A color that has an ARGB value of #FFBC8F8F.
-
GetRoyalBlue
Gets a color that has an ARGB value of #FF4169E1.- Returns:
- A color that has an ARGB value of #FF4169E1.
-
GetSaddleBrown
Gets a color that has an ARGB value of #FF8B4513.- Returns:
- A color that has an ARGB value of #FF8B4513.
-
GetSalmon
Gets a color that has an ARGB value of #FFFA8072.- Returns:
- A color that has an ARGB value of #FFFA8072.
-
GetSandyBrown
Gets a color that has an ARGB value of #FFF4A460.- Returns:
- A color that has an ARGB value of #FFF4A460.
-
GetSeaGreen
Gets a color that has an ARGB value of #FF2E8B57.- Returns:
- A color that has an ARGB value of #FF2E8B57.
-
GetSeaShell
Gets a color that has an ARGB value of #FFFFF5EE.- Returns:
- A color that has an ARGB value of #FFFFF5EE.
-
GetSienna
Gets a color that has an ARGB value of #FFA0522D.- Returns:
- A color that has an ARGB value of #FFA0522D.
-
GetSilver
Gets a color that has an ARGB value of #FFC0C0C0.- Returns:
- A color that has an ARGB value of #FFC0C0C0.
-
GetSkyBlue
Gets a color that has an ARGB value of #FF87CEEB.- Returns:
- A color that has an ARGB value of #FF87CEEB.
-
GetSlateBlue
Gets a color that has an ARGB value of #FF6A5ACD.- Returns:
- A color that has an ARGB value of #FF6A5ACD.
-
GetSlateGray
Gets a color that has an ARGB value of #FF708090.- Returns:
- A color that has an ARGB value of #FF708090.
-
GetSnow
Gets a color that has an ARGB value of #FFFFFAFA.- Returns:
- A color that has an ARGB value of #FFFFFAFA.
-
GetSpringGreen
Gets a color that has an ARGB value of #FF00FF7F.- Returns:
- A color that has an ARGB value of #FF00FF7F.
-
GetSteelBlue
Gets a color that has an ARGB value of #FF4682B4.- Returns:
- A color that has an ARGB value of #FF4682B4.
-
GetTan
Gets a color that has an ARGB value of #FFD2B48C.- Returns:
- A color that has an ARGB value of #FFD2B48C.
-
GetTeal
Gets a color that has an ARGB value of #FF008080.- Returns:
- A color that has an ARGB value of #FF008080.
-
GetThistle
Gets a color that has an ARGB value of #FFD8BFD8.- Returns:
- A color that has an ARGB value of #FFD8BFD8.
-
GetTomato
Gets a color that has an ARGB value of #FFFF6347.- Returns:
- A color that has an ARGB value of #FFFF6347.
-
GetTurquoise
Gets a color that has an ARGB value of #FF40E0D0.- Returns:
- A color that has an ARGB value of #FF40E0D0.
-
GetViolet
Gets a color that has an ARGB value of #FFEE82EE.- Returns:
- A color that has an ARGB value of #FFEE82EE.
-
GetWheat
Gets a color that has an ARGB value of #FFF5DEB3.- Returns:
- A color that has an ARGB value of #FFF5DEB3.
-
GetWhite
Gets a color that has an ARGB value of #FFFFFFFF.- Returns:
- A color that has an ARGB value of #FFFFFFFF.
-
GetWhiteSmoke
Gets a color that has an ARGB value of #FFF5F5F5.- Returns:
- A color that has an ARGB value of #FFF5F5F5.
-
GetYellow
Gets a color that has an ARGB value of #FFFFFF00.- Returns:
- A color that has an ARGB value of #FFFFFF00.
-
GetYellowGreen
Gets a color that has an ARGB value of #FF9ACD32.- Returns:
- A color that has an ARGB value of #FF9ACD32.
-
getR
public int getR()Gets the red byte value of the color.- Returns:
- The red byte value.
-
getG
public int getG()Gets the green byte value of the color.- Returns:
- The green byte value.
-
getB
public int getB()Gets the blue byte value of the color.- Returns:
- The blue byte value.
-
getA
public int getA()Gets the alpha byte value of the color.- Returns:
- The alpha byte value.
-
getIsEmpty
public boolean getIsEmpty()Gets a value indicating whether this color is empty.- Returns:
trueif this color is empty; otherwise,false.
-
getIsNamedColor
public boolean getIsNamedColor()Gets a value indicating whether this color is named color.- Returns:
trueif this color is named color; otherwise,false.
-
getName
Gets the color name.- Returns:
- The color name.
-
FromArgb
Creates a Color structure from a 32-bit ARGB value.- Parameters:
argb- The ARGB.- Returns:
- Color.
-
FromArgb
Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.- Parameters:
alpha- The alpha.red- The red.green- The green.blue- The blue.- Returns:
- Color.
-
FromArgb
Creates a Color structure from the specified Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.- Parameters:
alpha- The alpha value for the new Color. Valid values are 0 through 255.baseColor- Color of the base.- Returns:
- Color.
-
FromArgb
Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.- Parameters:
red- The red.green- The green.blue- The blue.- Returns:
- Color.
-
getBrightness
public float getBrightness()Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.- Returns:
- System.Single.
-
getHue
public float getHue()Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.- Returns:
- System.Single.
-
getSaturation
public float getSaturation()Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.- Returns:
- System.Single.
-
toArgb
public int toArgb()Gets the 32-bit ARGB value of this Color structure.- Returns:
- The 32-bit ARGB value of this Color structure.
-
toString
Converts this Color structure to a human-readable string. (Overrides ValueType.ToString().) In XNA Framework 3.0, this member is inherited from Object.ToString(). -
equals
Tests whether the specified object is a Color structure and is equivalent to this Color structure. -
hashCode
public int hashCode()Returns a hash code for this instance.
-