Web Safe Colors.pdf

  • Upload
    xbabax

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

  • 8/16/2019 Web Safe Colors.pdf

    1/3

    Page 1b Safe Colors

    10-01-2016 23:00:33//www.permadi.com/tutorial/websafecolor/index.html

    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 00FFFF

     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 33FFFF

     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 66FFFF

     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 99FFFF

     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

  • 8/16/2019 Web Safe Colors.pdf

    2/3

    Page 2b Safe Colors

    10-01-2016 23:00:33//www.permadi.com/tutorial/websafecolor/index.html

     

     A web color is usually specified as a 6-digits hexadecimal number. The 6-digitsrepresentsthe Red Green Blue value of the color, commonly referred as the RGB

    values. Even though there are6 digits on each number, these six digits are actuallythreeseparate 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 ofthe 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 willbe

    meaningless. Instead, you should always break up the six digits into RGB values like 

    CCFF00 CCFF33 CCFF66 CCFF99 CCFFCC CCFFFF

     FF 0000 FF 0033 FF 0066 FF 0099 FF00CC FF00FF

     FF 3300 FF 3333 FF 3366 FF 3399 FF33CC FF33FF

     FF 9900 FF 9933 FF 9966 FF 9999 FF99CC FF99FF

     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 originallyused as the standard EGAcolor palette.

    Red FF0000

    Green 00FF00  

    Blue 0000FF

    Yellow FFFF00  

    Purple 800080

    Fuschia FF00FF  

    Navy 000080

    Teal 008080

     Aqua 00FFFF  

    Olive 808000  

    Lime 00FF00  

    Black 000000

    Silver 008000  

    Gray 808080  

    White FFFFFF  

    WHAT ARE THE WEB SAFE COLORS?

     

    Web safe colors are sets of colors that willnot bealtered (dithered) whenshown onbrowsers running on a 256-color browser. These sets of colors are initially selectedbyNetscape for use on their browsers.

    Web safe colors seem to beirrelevant for today'scomputers, but back when the webwas 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 Iwon'tget into, but the short answer is because 255 is the maximum valuesfor an 8 bit

    number(i.e.:255 is 28

    ).

    Of the 256 possible colors, there are 216 that is designatedto be web safe colors; they

    are shown on the table above. The remaining 32 colors are used bythe operatingsystem (such as Windows 95, or MacOS) and are reserved for the color of title bar,desktop, menu bar, etc.

    INTERPRETING THE NUMBERS

  • 8/16/2019 Web Safe Colors.pdf

    3/3