NR Computer Learning Center . 2100 W. Orangewood . #110 . Orange . CA 92868 . 714-505-3475 . Computer Training, Testing, Assessment and Consulting Service provider for Small, Medium and Large businesses (SMB/SME).

Using HTML Color Codes

 

As website designer, you have 216 safe HTML color codes to choose from. These safe colors are based on 16 bit color monitors known as hexadecimal triplets representing the colors red, green and blue. These 216 colors are considered safe HTML color code because they are guaranteed to display correctly in all browsers. When you're adding a color to your web page using HTML, you can type the color or use the 6-character HTML color code. Following is the list of colors available in HTML:

COLOR NAME CODE
Black #000000
Blue #0000FF
Aqua #00FFFF
Fuchsia #FF00FF
Gold #FFD700
Grey #808080
Lime #00FF00
Green #009900
Maroon #800000
Purple #800080
Red #FF0000
Silver #C0C0C0
COLOR NAME CODE
Teal #009966
Turquoise #30D5C8
White #FFFFFF
Yellow #FFFF00
DeepSkyBlue #00CCFF
DarkCyan #009999
Dark Green #006600
Blue #0000FF
Med Blue #0000CC
Dark Blue #000099

 

If you are going to use HTML color code in a webpage, the color code must start with the symbol "#" and 6-character HTML color code consisting of the numbers 0,3,6,9, and letters C and F.

The HTML color codes is called a TRIPLET because it is based on group of Thee Hex numbers between hex 00 and hex FF (decimal 255). The format of the TRIPLET looks as follows:

#RRGGBB

The Red (RR), green (GG) and blue (BB) tell the browser how red, green and red to use. So the code for pure red is #FF0000, Green is #00FF00 and Blue #0000FF. Following is the list of HTML safe color codes:

Web browser can only directly display following 216 Hexadecimal colors:

 

FFFFFF

 

FFCCFF

 

FF99FF

 

FF66FF

 

FF33FF

 

FF00FF

 

FFFFCC

 

FFCCCC

 

FF99CC

 

FF66CC

 

FF33CC

 

FF00CC

 

FFFF99

 

FFCC99

 

FF9999

 

FF6699

 

FF3399

 

FF0099

 

FFFF66

 

FFCC66

 

FF9966

 

FF6666

 

FF3366

 

FF0066

 

FFFF33

 

FFCC33

 

FF9933

 

FF6633

 

FF3333

 

FF0033

 

FFFF00

 

FFCC00

 

FF9900

 

FF6600

 

FF3300

 

FF0000

 

66FFFF

 

66CCFF

 

6699FF

 

6666FF

 

6633FF

 

6600FF

 

66FFCC

 

66CCCC

 

6699CC

 

6666CC

 

6633CC

 

6600CC

 

66FF99

 

66CC99

 

669999

 

666699

 

663399

 

660099

 

66FF66

 

66CC66

 

669966

 

666666

 

663366

 

660066

 

66FF33

 

66CC33

 

669933

 

666633

 

663333

 

660033

 

66FF00

 

66CC00

 

669900

 

666600

 

663300

 

660000

 

CCFFFF

 

CCCCFF

 

CC99FF

 

CC66FF

 

CC33FF

 

CC00FF

 

CCFFCC

 

CCCCCC

 

CC99CC

 

CC66CC

 

CC33CC

 

CC00CC

 

CCFF99

 

CCCC99

 

CC9999

 

CC6699

 

CC3399

 

CC0099

 

CCFF66

 

CCCC66

 

6CC966

 

CC6666

 

CC3366

 

CC0066

 

CCFF33

 

CCCC33

 

CC9933

 

CC6633

 

CC3333

 

CC0033

 

CCFF00

 

CCCC00

 

CC9900

 

CC6600

 

CC3300

 

CC0000

 

33FFFF

 

33CCFF

 

3399FF

 

3366FF

 

3333FF

 

3300FF

 

33FFCC

 

33CCCC

 

3399CC

 

3366CC

 

3333CC

 

3300CC

 

33FF99

 

33CC99

 

339999

 

336699

 

333399

 

330099

 

33FF66

 

33CC66

 

339966

 

336666

 

333366

 

330066

 

33FF33

 

33CC33

 

339933

 

336633

 

333333

 

330033

 

33FF00

 

33CC00

 

339900

 

336600

 

333300

 

330000

 

99FFFF

 

99CCFF

 

9999FF

 

9966FF

 

9933FF

 

9900FF

 

99FFCC

 

99CCCC

 

9999CC

 

9966CC

 

9933CC

 

9900CC

 

99FF99

 

99CC99

 

999999

 

996699

 

993399

 

990099

 

99FF66

 

99CC66

 

999966

 

996666

 

993366

 

990066

 

99FF33

 

99CC33

 

999933

 

996633

 

993333

 

990033

 

99FF00

 

99CC00

 

999900

 

996600

 

993300

 

990000

 

00FFFF

 

00CCFF

 

0099FF

 

0066FF

 

0033FF

 

0000FF

 

00FFCC

 

00CCCC

 

0099CC

 

0066CC

 

0033CC

 

0000CC

 

00FF99

 

00CC99

 

009999

 

006699

 

003399

 

000099

 

00FF66

 

00CC66

 

009966

 

006666

 

003366

 

000066

 

00FF33

 

00CC33

 

009933

 

006633

 

003333

 

000033

 

00FF00

 

00CC00

 

009900

 

006600

 

003300

 

000000

For example, to set the text color to red:

<font color="yellow">My Text</font>

or

<font color="#FFFF00">My Text</font>

 

Vazi Okhandiar
NR Computer Learning Center

  • Add this page to your Favorites
  • Link to this page (copy and paste into your own website or blog):

For more blog posting, visit http://smb-technology.blogspot.com/

References:

http://en.wikipedia.org/wiki/List_of_colors
http://www.december.com/html/spec/colorspottable.html
http://www.ironspider.ca/format_text/fontcolor.htm
http://www.webmonkey.com/2010/02/color_charts/
http://www.febooti.com/products/iezoom/online-help/online-color-chart-picker.html
http://websitetips.com/colortools/colormatch/
http://www.colorschemer.com/blog/
http://www.colorsontheweb.com/colorwizard.asp
http://kuler.adobe.com/#themes/newest?time=30
http://www.2createawebsite.com/build/hex-colors.html#colorgenerator
http://colorexplorer.com/colormatch.aspx
http://www.ficml.org/jemimap/style/color/wheel.html
http://www.colorcombos.com/combotester.html
http://whos.amung.us/colorwheel/



To receive timely e-mail notification on upcoming events, webinars, training, workshop, discount, promotion, helpful tips and more, join our mailing list
Email:

 

Keyword Position Check
How are your keywords ranked by the search engines?

Keyword
Domain (example: www.host.com)


Please enter the access code as displayed above.
Access code
Online Keyword Position Check provide by SEOCentro.
NRCLC Newsletter

© COPYRIGHT 2002-2010 ALL RIGHTS RESERVED N&R Technology, LLC