Skip to Content
HTML Pocket Reference
book

HTML Pocket Reference

by Jennifer Niederst Robbins
December 1999
Intermediate to advanced
95 pages
2h 34m
English
O'Reilly Media, Inc.
Content preview from HTML Pocket Reference

Color Names

Colors can be identified by one of 140 color names originally developed for the X Window System. The complete list appears below.

Color names are only supported by Navigator versions 2.0 and higher and Internet Explorer versions 3.0 and higher. Internet Explorer 2.0 supports the following 16 color names:

aqua

gray

navy

silver

black

green

olive

teal

blue

lime

purple

white

fuschia

maroon

red

yellow

Of the 140 color names, only 10 represent nondithering colors from the Web Palette. They are: aqua, black, blue, cyan, fuschia, lime, magenta, red, white, and yellow.

When viewed on an 8-bit display, the remaining 130 colors will shift to their nearest Web Palette equivalent (or System Palette color). In many cases, the difference is drastic. Many of the pastels shift to solid white.

The “Nearest Web-safe Color” column lists the color that will actually be displayed for each color name on an 8-bit display.

Color Name

RGB Values

Hexa-decimal

Nearest Web-safe Color

aliceblue

240 - 248 - 255

F0F8FF

FFFFFF

antiquewhite

250 - 235 - 215

FAEBD7

FFFFCC

aqua

0 - 255 - 255

00FFFF

00FFFF

aquamarine

127 - 255 - 212

7FFFD4

66FFCC

azure

240 - 255 - 255

F0FFFF

FFFFFF

beige

245 - 245 - 220

F5F5DC

FFFFCC

bisque

255 - 228 - 196

FFE4C4

FFFFCC

black

0 - 0 - 0

000000

000000

blanchedalmond

255 - 255 - 205

FFEBCD

FFFFCC

blue

0 - 0 - 255

0000FF

0000FF

blueviolet

138 - 43 - 226

8A2BE2

9933FF

brown

165 - 42 - 42

A52A2A

993333

burlywood

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

HTML Pocket Reference, Second Edition

HTML Pocket Reference, Second Edition

Jennifer Niederst Robbins
HTML5

HTML5

Matthew David

Publisher Resources

ISBN: 1565925793Catalog PageErrata