Color

Color class

Represents an ARGB (alpha, red, green, blue) color.

Color()

construct function

Methods

NameDescription
getSiennaGet a system-defined color.
getSilverGet a system-defined color.
getSkyBlueGet a system-defined color.
getSlateBlueGet a system-defined color.
getSlateGrayGet a system-defined color.
getSnowGet a system-defined color.
getSpringGreenGet a system-defined color.
getSteelBlueGet a system-defined color.
getTanGet a system-defined color.
getTealGet a system-defined color.
getThistleGet a system-defined color.
getTomatoGet a system-defined color.
getTransparentGet a system-defined color.
getTurquoiseGet a system-defined color.
getVioletGet a system-defined color.
getWheatGet a system-defined color.
getWhiteGet a system-defined color.
getWhiteSmokeGet a system-defined color.
getYellowGet a system-defined color.
getYellowGreenGet a system-defined color.
getAGets the alpha component value of this Color object.
getRGets the red component value of this Color object.
getGGets the green component value of this Color object.
getBGets the blue component value of this Color object.
isEmptySpecifies whether this Color object is uninitialized.
toArgbGets the 32-bit ARGB value of this Color object.
equalsTests whether the specified object is a Color object and is equivalent to this object.
hashCodeReturns a hash code for this Color object.
fromArgbCreates a Color object from a 32-bit ARGB value.
getEmptyGet a system-defined empty color.
getAliceBlueGet a system-defined color.
getAntiqueWhiteGet a system-defined color.
getAzureGet a system-defined color.
getAquamarineGet a system-defined color.
getAquaGet a system-defined color.
getBeigeGet a system-defined color.
getBisqueGet a system-defined color.
getBlackGet a system-defined color.
getBlanchedAlmondGet a system-defined color.
getBlueGet a system-defined color.
getBlueVioletGet a system-defined color.
getBrownGet a system-defined color.
getCadetBlueGet a system-defined color.
getBurlyWoodGet a system-defined color.
getChartreuseGet a system-defined color.
getChocolateGet a system-defined color.
getCoralGet a system-defined color.
getCornflowerBlueGet a system-defined color.
getCornsilkGet a system-defined color.
getCrimsonGet a system-defined color.
getCyanGet a system-defined color.
getDarkBlueGet a system-defined color.
getDarkCyanGet a system-defined color.
getDarkGoldenrodGet a system-defined color.
getDarkGrayGet a system-defined color.
getDarkGreenGet a system-defined color.
getDarkKhakiGet a system-defined color.
getDarkMagentaGet a system-defined color.
getDarkOliveGreenGet a system-defined color.
getDarkOrangeGet a system-defined color.
getDarkOrchidGet a system-defined color.
getDarkRedGet a system-defined color.
getDarkSalmonGet a system-defined color.
getDarkSeaGreenGet a system-defined color.
getDarkSlateBlueGet a system-defined color.
getDarkSlateGrayGet a system-defined color.
getDarkTurquoiseGet a system-defined color.
getDarkVioletGet a system-defined color.
getDeepPinkGet a system-defined color.
getDeepSkyBlueGet a system-defined color.
getDimGrayGet a system-defined color.
getDodgerBlueGet a system-defined color.
getFirebrickGet a system-defined color.
getFloralWhiteGet a system-defined color.
getForestGreenGet a system-defined color.
getFuchsiaGet a system-defined color.
getGainsboroGet a system-defined color.
getGhostWhiteGet a system-defined color.
getGoldGet a system-defined color.
getGoldenrodGet a system-defined color.
getGrayGet a system-defined color.
getGreenGet a system-defined color.
getGreenYellowGet a system-defined color.
getHoneydewGet a system-defined color.
getHotPinkGet a system-defined color.
getIndianRedGet a system-defined color.
getIndigoGet a system-defined color.
getIvoryGet a system-defined color.
getKhakiGet a system-defined color.
getLavenderGet a system-defined color.
getLavenderBlushGet a system-defined color.
getLawnGreenGet a system-defined color.
getLemonChiffonGet a system-defined color.
getLightBlueGet a system-defined color.
getLightCoralGet a system-defined color.
getLightCyanGet a system-defined color.
getLightGoldenrodYellowGet a system-defined color.
getLightGrayGet a system-defined color.
getLightGreenGet a system-defined color.
getLightPinkGet a system-defined color.
getLightSalmonGet a system-defined color.
getLightSeaGreenGet a system-defined color.
getLightSkyBlueGet a system-defined color.
getLightSlateGrayGet a system-defined color.
getLightSteelBlueGet a system-defined color.
getLightYellowGet a system-defined color.
getLimeGet a system-defined color.
getLimeGreenGet a system-defined color.
getLinenGet a system-defined color.
getMagentaGet a system-defined color.
getMaroonGet a system-defined color.
getMediumAquamarineGet a system-defined color.
getMediumBlueGet a system-defined color.
getMediumOrchidGet a system-defined color.
getMediumPurpleGet a system-defined color.
getMediumSeaGreenGet a system-defined color.
getMediumSlateBlueGet a system-defined color.
getMediumSpringGreenGet a system-defined color.
getMediumTurquoiseGet a system-defined color.
getMediumVioletRedGet a system-defined color.
getMidnightBlueGet a system-defined color.
getMintCreamGet a system-defined color.
getMistyRoseGet a system-defined color.
getMoccasinGet a system-defined color.
getNavajoWhiteGet a system-defined color.
getNavyGet a system-defined color.
getOldLaceGet a system-defined color.
getOliveGet a system-defined color.
getOliveDrabGet a system-defined color.
getOrangeGet a system-defined color.
getOrangeRedGet a system-defined color.
getOrchidGet a system-defined color.
getPaleGoldenrodGet a system-defined color.
getPaleGreenGet a system-defined color.
getPaleTurquoiseGet a system-defined color.
getPaleVioletRedGet a system-defined color.
getPapayaWhipGet a system-defined color.
getPeachPuffGet a system-defined color.
getPeruGet a system-defined color.
getPinkGet a system-defined color.
getPlumGet a system-defined color.
getPowderBlueGet a system-defined color.
getPurpleGet a system-defined color.
getRedGet a system-defined color.
getRosyBrownGet a system-defined color.
getRoyalBlueGet a system-defined color.
getSaddleBrownGet a system-defined color.
getSalmonGet a system-defined color.
getSandyBrownGet a system-defined color.
getSeaGreenGet a system-defined color.
getSeaShellGet a system-defined color.