.

Color Values

Colors can be referenced in a variety of properties in two ways. The first is by using the string literal, which is the color's name. The second is by using an RGB hexadecimal code. For example, a specific shade of blue is represented by the string literal aliceblue or F0F8FF.


Color/String Literal

RGB Code
Color

aliceblue

F0F8FF
ABCabcABCabc

antiquewhite

FAEBD7
ABCabcABCabc

aqua

00FFFF
ABCabcABCabc

aquamarine

7FFFD4
ABCabcABCabc

azure

F0FFFF
ABCabcABCabc

beige

F5F5DC
ABCabcABCabc

bisque

FFE4C4
ABCabcABCabc

black

000000
ABCabcABCabc

blanchedalmond

FFEBCD
ABCabcABCabc

blue

0000FF
ABCabcABCabc

blueviolet

8A2BE2
ABCabcABCabc

brown

A52A2A
ABCabcABCabc

burlywood

DEB887
ABCabcABCabc

cadetblue

5F9EA0
ABCabcABCabc

chartreuse

7FFF00
ABCabcABCabc

chocolate

D2691E
ABCabcABCabc

coral

FF7F50
ABCabcABCabc

cornflowerblue

6495ED
ABCabcABCabc

cornsilk

FFF8DC
ABCabcABCabc

crimson

DC143C
ABCabcABCabc

cyan

00FFFF
ABCabcABCabc

darkblue

00008B
ABCabcABCabc

darkcyan

008B8B
ABCabcABCabc

darkgoldenrod

B8860B
ABCabcABCabc

darkgray

A9A9A9
ABCabcABCabc

darkgreen

006400
ABCabcABCabc

darkkhaki

BDB76B
ABCabcABCabc

darkmagenta

8B008B
ABCabcABCabc

darkolivegreen

556B2F
ABCabcABCabc

darkorange

FF8C00
ABCabcABCabc

darkorchid

9932CC
ABCabcABCabc

darkred

8B0000
ABCabcABCabc

darksalmon

E9967A
ABCabcABCabc

darkseagreen

8FBC8F
ABCabcABCabc

darkslateblue

483D8B
ABCabcABCabc

darkslategray

2F4F4F
ABCabcABCabc

darkturquoise

00CED1
ABCabcABCabc

darkviolet

9400D3
ABCabcABCabc

deeppink

FF1493
ABCabcABCabc

deepskyblue

00BFFF
ABCabcABCabc

dimgray

696969
ABCabcABCabc

dodgerblue

1E90FF
ABCabcABCabc

firebrick

B22222
ABCabcABCabc

floralwhite

FFFAF0
ABCabcABCabc

forestgreen

228B22
ABCabcABCabc

fuchsia

FF00FF
ABCabcABCabc

gainsboro

DCDCDC
ABCabcABCabc

ghostwhite

F8F8FF
ABCabcABCabc

gold

FFD700
ABCabcABCabc

goldenrod

DAA520
ABCabcABCabc

gray

808080
ABCabcABCabc

green

008000
ABCabcABCabc

greenyellow

ADFF2F
ABCabcABCabc

honeydew

F0FFF0
ABCabcABCabc

hotpink

FF69B4
ABCabcABCabc

indianred

CD5C5C
ABCabcABCabc

indigo

4B0082
ABCabcABCabc

ivory

FFFFF0
ABCabcABCabc

khaki

F0E68C
ABCabcABCabc

lavender

E6E6FA
ABCabcABCabc

lavenderblush

FFF0F5
ABCabcABCabc

lawngreen

7CFC00
ABCabcABCabc

lemonchiffon

FFFACD
ABCabcABCabc

lightblue

ADD8E6
ABCabcABCabc

lightcoral

F08080
ABCabcABCabc

lightcyan

E0FFFF
ABCabcABCabc

lightgoldenrodyellow

FAFAD2
ABCabcABCabc

lightgreen

90EE90
ABCabcABCabc

lightgrey

D3D3D3
ABCabcABCabc

lightpink

FFB6C1
ABCabcABCabc

lightsalmon

FFA07A
ABCabcABCabc

lightseagreen

20B2AA
ABCabcABCabc

lightskyblue

87CEFA
ABCabcABCabc

lightslategray

778899
ABCabcABCabc

lightsteelblue

B0C4DE
ABCabcABCabc

lightyellow

FFFFE0
ABCabcABCabc

lime

00FF00
ABCabcABCabc

limegreen

32CD32
ABCabcABCabc

linen

FAF0E6
ABCabcABCabc

magenta

FF00FF
ABCabcABCabc

maroon

800000
ABCabcABCabc

mediumaquamarine

66CDAA
ABCabcABCabc

mediumblue

0000CD
ABCabcABCabc

mediumorchid

BA55D3
ABCabcABCabc

mediumpurple

9370DB
ABCabcABCabc

mediumseagreen

3CB371
ABCabcABCabc

mediumslateblue

7B68EE
ABCabcABCabc

mediumspringgreen

00FA9A
ABCabcABCabc

mediumturquoise

48D1CC
ABCabcABCabc

mediumvioletred

C71585
ABCabcABCabc

midnightblue

191970
ABCabcABCabc

mintcream

F5FFFA
ABCabcABCabc

mistyrose

FFE4E1
ABCabcABCabc

moccasin

FFE4B5
ABCabcABCabc

navajowhite

FFDEAD
ABCabcABCabc

navy

000080
ABCabcABCabc

oldlace

FDF5E6
ABCabcABCabc

olive

808000
ABCabcABCabc

olivedrab

6B8E23
ABCabcABCabc

orange

FFA500
ABCabcABCabc

orangered

FF4500
ABCabcABCabc

orchid

DA70D6
ABCabcABCabc

palegoldenrod

EEE8AA
ABCabcABCabc

palegreen

98FB98
ABCabcABCabc

paleturquoise

AFEEEE
ABCabcABCabc

palevioletred

DB7093
ABCabcABCabc

papayawhip

FFEFD5
ABCabcABCabc

peachpuff

FFDAB9
ABCabcABCabc

peru

CD853F
ABCabcABCabc

pink

FFC0CB
ABCabcABCabc

plum

DDA0DD
ABCabcABCabc

powderblue

B0E0E6
ABCabcABCabc

purple

800080
ABCabcABCabc

red

FF0000
ABCabcABCabc

rosybrown

BC8F8F
ABCabcABCabc

royalblue

4169E1
ABCabcABCabc

saddlebrown

8B4513
ABCabcABCabc

salmon

FA8072
ABCabcABCabc

sandybrown

F4A460
ABCabcABCabc

seagreen

2E8B57
ABCabcABCabc

seashell

FFF5EE
ABCabcABCabc

sienna

A0522D
ABCabcABCabc

silver

C0C0C0
ABCabcABCabc

skyblue

87CEEB
ABCabcABCabc

slateblue

6A5ACD
ABCabcABCabc

slategray

708090
ABCabcABCabc

snow

FFFAFA
ABCabcABCabc

springgreen

00FF7F
ABCabcABCabc

steelblue

4682B4
ABCabcABCabc

tan

D2B48C
ABCabcABCabc

teal

008080
ABCabcABCabc

thistle

D8BFD8
ABCabcABCabc

tomato

FF6347
ABCabcABCabc

turquoise

40E0D0
ABCabcABCabc

violet

EE82EE
ABCabcABCabc

wheat

F5DEB3
ABCabcABCabc

white

FFFFFF
ABCabcABCabc

whitesmoke

F5F5F5
ABCabcABCabc

yellow

FFFF00
ABCabcABCabc

yellowgreen

9ACD32
ABCabcABCabc

Please direct errors to the Webmasters.