Вы находитесь на странице: 1из 3

Web Safe Colors

Page 1

Advertisement

FastClick Ad Network

THE WEB SAFE COLOR TABLE

000000

000033

000066

000099

0000CC

0000 FF

003300

003333

003366

003399

0033CC

0033 FF

006600

006633

006666

006699

0066CC

0066 FF

009900

009933

009966

009999

0099CC

0099 FF

00CC00

00CC33

00CC66

00CC99

00 CCCC

00CCFF

00FF 00

00FF 33

00FF 66

00FF 99

00FFCC

00 FFFF

330000

330033

330066

330099

3300CC

3300 FF

333300

333333

333366

333399

3333CC

3333 FF

336600

336633

336666

336699

3366CC

3366 FF

339900

339933

339966

339999

3399CC

3399 FF

33CC00

33CC33

33CC66

33CC99

33 CCCC

33CCFF

33FF 00

33FF 33

33FF 66

33FF 99

33FFCC

33 FFFF

660000

660033

660066

660099

6600CC

6600 FF

663300

663333

663366

663399

6633CC

6633 FF

666600

666633

666666

666699

6666CC

6666 FF

669900

669933

669966

669999

6699CC

6699 FF

66CC00

66CC33

66CC66

66CC99

66 CCCC

66CCFF

66FF 00

66FF 33

66FF 66

66FF 99

66FFCC

66 FFFF

990000

990033

990066

990099

9900CC

9900 FF

993300

993333

993366

993399

9933CC

9933 FF

996600

996633

996666

996699

9966CC

9966 FF

999900

999933

999966

999999

9999CC

9999 FF

99CC00

99CC33

99CC66

99CC99

99 CCCC

99CCFF

99FF 00

99FF 33

99FF 66

99FF 99

99FFCC

99 FFFF

CC0000

CC0033

CC0066

CC0099

CC00 CC

CC00FF

CC3300

CC3333

CC3366

CC3399

CC33 CC

CC33FF

CC6600

CC6633

CC6666

CC6699

CC66 CC

CC66FF

CC9900

CC9933

CC9966

CC9999

CC99 CC

CC99FF

CCCC00

CCCC33

CCCC66

CCCC99

CCCCCC

CCCCFF

http://www.permadi.com/tutorial/websafecolor/index.html

10-01-2016 23:00:33

Web Safe Colors

Page 2

CCFF00

CCFF33

CCFF66

CCFF99

CCFFCC

CCFFFF

FF 0000

FF 0033

FF 0066

FF 0099

FF00 CC

FF00 FF

FF 3300

FF 3333

FF 3366

FF 3399

FF33 CC

FF33 FF

FF 9900

FF 9933

FF 9966

FF 9999

FF99 CC

FF99 FF

FFCC00

FFCC33

FFCC66

FFCC99

FFCCCC

FFCCFF

FFFF00

FFFF33

FFFF66

FFFF99

FFFFCC

FFFFFF

NAMED COLORS
In addition to the 216 web safe colors. HTML specifications also recognizes the
following 16 colors, and they are also considered web safe. These colors are originally
used as the standard EGA color palette.
Red

FF0000

Green

00FF00

Blue
Yellow

0000FF
FFFF00

Purple
Fuschia

800080
FF00FF

Navy

000080

Teal
Aqua

008080
00FFFF

Olive
Lime

808000
00FF00

Black

000000

Silver
Gray

008000
808080

White

FFFFFF

WHAT ARE THE WEB SAFE COLORS?


Web safe colors are sets of colors that will not be altered (dithered) when shown on
browsers running on a 256-color browser. These sets of colors are initially selected by
Netscape for use on their browsers.
Web safe colors seem to be irrelevant for today's computers, but back when the web
was invented, many people still use graphics card which supports only 256 colors (or
less). In fact, even today (April 2000), Netscape browsers seems to still have some
problems when displaying colors; while Internet Explorer seems to have better color
handling (for more on this discrepancy, see the last section on this document).
You might be wondering what is so special about the number 256. This is a topic that I
won't get into, but the short answer is because 255 is the maximum values for an 8 bit
number (i.e .: 255 is 28 ).
Of the 256 possible colors, there are 216 that is designated to be web safe colors; they
are shown on the table above . The remaining 32 colors are used by the operating
system (such as Windows 95, or MacOS) and are reserved for the color of title bar,
desktop, menu bar, etc.
INTERPRETING THE NUMBERS
A web color is usually specified as a 6 -digits hexadecimal number. The 6-digits
represents the Red Green Blue value of the color, commonly referred as the RGB
values. Even though there are 6 digits on each number, these six digits are actually
three separate pairs of numbers, specifically:
The first two digits are the Red (R) value of the color.
The next two digits are the Green (G) value of the color.
The last two digits are the Blue (B) value of the color.
You might attempt to interpret all six digits as a whole, but that will be
meaningless. Instead, you should always break up the six digits into RGB values like
this RRGGBB.
http://www.permadi.com/tutorial/websafecolor/index.html

10-01-2016 23:00:33

Вам также может понравиться