CSS Colour Names

More properly referred to as X11 Colour Keywords these colour names can be used when formatting with Cascading Style Sheets. X11 is is a networking and display protocol originated at Massachusetts Institute of Technology Link opens in a new window in September 1987 and most of these colours were created as part of that system.

A big advantage of using these colour names is that you might find it easier to remember that your preferred colour for the background of a page is aliceblue instead of remembering the hexadecimal code #f0f8ff.

Most of these colours should be recognised by most browsers. The colour gray and all variants should be recognised if spelled grey.

Cascading Style Sheet formatting:

body { background-color: aliceblue }

aliceblue

darkslategray

lightsalmon

palevioletred

antiquewhite

darkturquoise

lightseagreen

papayawhip

aquamarine

darkviolet

lightskyblue

peachpuff

azure

deeppink

lightslategray

peru

beige

deepskyblue

lightsteelblue

pink

bisque

dimgray

lightyellow

plum

black

dodgerblue

limegreen

powderblue

blanchedalmond

firebrick

linen

purple

blue

floralwhite

magenta

red

blueviolet

forestgreen

maroon

rosybrown

brown

gainsboro

mediumaquamarine

royalblue

burlywood

ghostwhite

mediumblue

saddlebrown

cadetblue

gold

mediumorchid

salmon

chartreuse

goldenrod

mediumpurple

sandybrown

chocolate

gray

mediumseagreen

seagreen

coral

green

mediumslateblue

seashell

cornflowerblue

greenyellow

mediumspringgreen

sienna

cornsilk

honeydew

mediumturquoise

skyblue

cyan

hotpink

mediumvioletred

slateblue

darkblue

indianred

midnightblue

slategray

darkcyan

ivory

mintcream

snow

darkgoldenrod

khaki

mistyrose

springgreen

darkgray

lavender

moccasin

steelblue

darkgreen

lavenderblush

navajowhite

tan

darkkhaki

lawngreen

navy

thistle

darkmagenta

lemonchiffon

oldlace

tomato

darkolivegreen

lightblue

olivedrab

turquoise

darkorange

lightcoral

orange

violet

darkorchid

lightcyan

orangered

wheat

darkred

lightgoldenrodyellow

orchid

white

darksalmon

lightgray

palegoldenrod

whitesmoke

darkseagreen

lightgreen

palegreen

yellow

darkslateblue

lightpink

paleturquoise

yellowgreen