The colors in CSS are necessary to create a web page and design its elements: background, fonts, blocks, etc. The mechanism engages the pixels of monitors and screens, telling each of them the desired shade.

In CSS, there are several ways to specify color through naming or by using the necessary values. The second method is also differentiated depending on which browser the image is designed to display.

Code CSS Name

F0F8FF aliceblue faded blue

FAEBD7 antiquewhite antique white

00FFFF aqua blue

7FFF00 chartreuse pistachio

F5F5DC azure azure

F5F5DC beige beige

FFE4C4 bisque

FFF8DC cornsilk dark green

FFEBCD blanchedalmond light cream

0000FF blue

8A2BE2 blueviolet light purple

B8860B darkgoldenrot dark redgold

006400 darkgreen

8B008B darkmagenta dark fuchsin

FF8C00 darkorange dark orange

8B0000 darkred dark red

8FBC8F darkseagreen dark navy

2F4F4F4F darkslategray dark blue-gray

9400D3 darkviolet dark purple

00BFFF deepskyblue dark sky blue

1E90FF dodgerblue faint cornflower

FFFAF0 floralwhite floralwhite

FF00FF fuchsia fuchsia

DCDCDC gainsboro gainsboro

DAA520 goldenrod red gold

008000 green

F0FFF0 honeydew fresh honey

CD5C5C indianred bright red

FFFFF0 ivory ivory

E6E6FA lavender pale mauve

7CFC00 lawngreen green lawn

ADD8E6 lightblue light blue

E0FFFF lightcyan light cyan

90EE90 lightgreen light green

FFB6C1 lightpink light pink

20B2AA lightseagreen light aqua light

778899 lightslategray light blue gray

FFFFE0 lightyellow light yellow

32CD32 limegreen green-lime

FF00FF fuchsin blanchedalmond

66CDAA mediumaquamarine mediumaquamarine

3CB371 mediumseagreen moderate aquamarine

BA55D3 mediumorchid moderate orchid

00FA9A mediumspringgreen temperate blue-gray

0C71585 mediumvioletred moderate reddish purple

0F5FFFA mintcream

FFE4B5 moccasin marsh

000080 navy navy

808000 olive

FFA500 orange

DA70D6 orchid orchid

98FB98 palegreen

DB7093 palevioletred pale red-purple

FFDAB9 peachpuff peach

FFC0CB pink

B0E0E6 powderblue foggy blue

FF0000 red

4169E1 royalblue royal blue

FA8072 salmon orange pink

2E8B57 seagreen sea green

A0522D sienna ochre

87CEEB skyblue

708090 slategray blue gray

00FF7F springgreen

D2B48C tan yellow-brown

D8BFD8 thistle thistle

40E0D0 turquoise turquoise

F5DEB3 wheat

F5F5F5 whitesmoke white smoky

9ACD32 yellowgreen

A52A2A brown

DEB887 burlywood old wood

5F9EA0 cadetblue faded taupe

FF7F50 coral coral

D2691E chocolate chocolate

6495ED cornflowerblue blue

000000 black

DC143C crimson

00FFFF cyan

00008B darkblue

008B8B darkcyan

A9A9A darkgray

BDB76B darkkhaki

556B2F darkolivegreen dark olive

9932CC darkorchid dark orchid

E9967A darksalmon dark orange pink

483D8B darkslateblue

00CED1 darkturqueise dark turquoise

FF1493 deeppink dark pink

696969 dimgray dull gray

B22222 firebrick firebrick

228B22 forestgreen forestgreen

F8F8FF ghostwhite foggy white

FFD700 gold

808080 gray

ADFF2F greenyellow yellow-green

FF69B4 hotpink bright pink

4B0082 indigo indigo

F0E68C khaki khaki

FFF0F5 lavenderblush pale pink-purple

FFFACD lemonchiffon lemon

F08080 lightcoral light coral

FAFAD2 lightgoldenrodyellow light golden yellow

D3D3D3 lightgrey light gray

FFA07A lightsalmon light orange-pink

87CEFA lightskyblue light sky blue

B0C4DE lightsteelblue light steel

00FF00 lime

FAF0E6 linen linen

800000 maroon orange pink

0000CD mediumblue light blue

7B68EE mediumslateblue medium gray-blue

9370DB mediumpurple moderate magenta

48D1CC mediumturquose medium turquoise

191970 midnightblue midnight blue

FFE4E1 mistyrose misty pink

FFDEAD navajowhite dirty gray

FDF5E6 old cognac

6B8E23 olivedrab

FF4500 orangered orange-red

EEE8AA palegoldenrod pale golden

AFEEEE paleturquoise pale turquoise

FFEFD5 papayawhip melon

CD853F peru brown

DDA0DD plum plum

800080 purple purple

BC8F8F rosybrown

8B4513 saddlebrown old leather

F4A460 sandybrown reddish brown

FFF5EE seashell sea foam

C0C0C0 silver silver

6A5ACD slateblue gray-blue

FFFAFA snow snow

4682B4 steelblue steelblue

008080 teal tea

FF6347 tomato tomato

EE82EE violet purple

FFFFFF white

FFFFFF00 yellow

7FFFD4 aquamarine