ColorByName Enumeration

A set of known colors by name, as a 32-bit integer in the form 0xBBGGRR (red is the low byte). This is different than color values in #RRGGBB format for HTML pages (red and blue are swapped).

note If your colors don't look right, likely you're using 0xRRGGBB where ColorDef expects 0xBBGGRR.

Members

Name Value Description
black 0  
maroon 128  
darkRed 139  
red 255  
orangeRed 17919  
darkGreen 25600  
green 32768  
olive 32896  
darkOrange 36095  
orange 42495  
amber 49151  
gold 55295  
lawnGreen 64636  
lime 65280  
chartreuse 65407  
yellow 65535  
darkGoldenrod 755384  
saddleBrown 1262987  
chocolate 1993170  
goldenrod 2139610  
darkBrown 2179941  
fireBrick 2237106  
forestGreen 2263842  
oliveDrab 2330219  
brown 2763429  
sienna 2970272  
darkOliveGreen 3107669  
greenYellow 3145645  
limeGreen 3329330  
yellowGreen 3329434  
crimson 3937500  
peru 4163021  
tomato 4678655  
darkSlateGray 5197615  
darkSlateGrey 5197615  
coral 5275647  
seaGreen 5737262  
indianRed 6053069  
sandyBrown 6333684  
dimGray 6908265  
dimGrey 6908265  
darkKhaki 7059389  
midnightBlue 7346457  
mediumSeaGreen 7451452  
salmon 7504122  
darkSalmon 8034025  
lightSalmon 8036607  
springGreen 8388352  
navy 8388608  
purple 8388736  
teal 8421376  
gray 8421504  
grey 8421504  
lightCoral 8421616  
indigo 8519755  
mediumVioletRed 8721863  
burlyWood 8894686  
darkBlue 9109504  
darkMagenta 9109643  
darkSlateBlue 9125192  
darkCyan 9145088  
tan 9221330  
khaki 9234160  
rosyBrown 9408444  
darkSeagreen 9419919  
slateGrey 9470064  
slateGray 9470064  
lightGreen 9498256  
deepPink 9639167  
paleVioletRed 9662683  
paleGreen 10025880  
rebeccaPurple 10040166  
lightSlateGrey 10061943  
lightSlateGray 10061943  
mediumSpringGreen 10156544  
cadetBlue 10526303  
darkGray 11119017  
darkGrey 11119017  
lightSeagreen 11186720  
mediumAquamarine 11193702  
paleGoldenrod 11200750  
navajoWhite 11394815  
wheat 11788021  
hotPink 11823615  
steelBlue 11829830  
moccasin 11920639  
peachPuff 12180223  
silver 12632256  
lightPink 12695295  
bisque 12903679  
pink 13353215  
darkOrchid 13382297  
mediumTurquoise 13422920  
mediumBlue 13434880  
slateBlue 13458026  
blanchedAlmond 13495295  
lemonChiffon 13499135  
turquoise 13688896  
darkTurquoise 13749760  
lightGoldenrodYellow 13826810  
darkViolet 13828244  
mediumOrchid 13850042  
lightGrey 13882323  
lightGray 13882323  
aquamarine 13959039  
papayaWhip 14020607  
orchid 14053594  
antiqueWhite 14150650  
thistle 14204888  
mediumPurple 14381203  
gainsboro 14474460  
beige 14480885  
cornSilk 14481663  
plum 14524637  
lightSteelBlue 14599344  
lightyellow 14745599  
royalBlue 14772545  
mistyRose 14804223  
blueViolet 14822282  
lightBlue 15128749  
powderBlue 15130800  
linen 15134970  
oldLace 15136253  
skyBlue 15453831  
cornflowerBlue 15570276  
mediumSlateBlue 15624315  
violet 15631086  
paleTurquoise 15658671  
seaShell 15660543  
floralWhite 15792895  
honeydew 15794160  
ivory 15794175  
lavenderBlush 16118015  
whiteSmoke 16119285  
lightSkyBlue 16436871  
lavender 16443110  
snow 16448255  
mintCream 16449525  
blue 16711680  
magenta 16711935  
fuchsia 16711935  
dodgerBlue 16748574  
deepSkyBlue 16760576  
aliceBlue 16775408  
ghostWhite 16775416  
cyan 16776960  
aqua 16776960  
lightCyan 16777184  
azure 16777200  
white 16777215  

Defined in

Last Updated: 10 September, 2019