Web Color Reference - HTML with Style | 2 | WebReference

Web Color Reference - HTML with Style | 2

indexnamedpropcolorwebsafe

Web Color Reference

Named Colors

The HTML 4.x specifications defines sixteen color names that can be used instead of color values in HTML. These colors are valid values for attributes such as BGCOLOR or LINK on the BODY element. The CSS2 specification also uses these colors as color values which can be used with properties such as color, background-color or border-color.

HTML 4.01 & CSS2 Colors
Color Name Hex 6 Hex 3 RGB RGB% Websafe Reallysafe Sample
black#000000#0000,0,00%,0%,0%YesYes 
silver#C0C0C0#CCC192,192,19275%,75%,75%NoNo 
gray#808080#888128,128,12850%,50%,50%NoNo 
white#FFFFFF#FFF255,255,255100%,100%,100%YesYes 
maroon#800000#800128,0,050%,0%,0%NoNo 
red#FF0000#F00255,0,0100%,0%,0%YesYes 
purple#800080#808128,0,12850%,0%,50%NoNo 
fuchsia#FF00FF#F0F255,0,255100%,0%,100%YesYes 
green#008000#0800,128,00%,50%,0%NoNo 
lime#00FF00#0F00,255,00%,100%,0%YesYes 
olive#808000#880128,128,050%,50%,0%NoNo 
yellow#FFFF00#FF0255,255,0100%,100%,0%YesYes 
navy#000080#0080,0,1280%,0%,50%NoNo 
blue#0000FF#00F0,0,2550%,0%,100%YesYes 
teal#008080#0880,128,1280%,50%,50%NoNo 
aqua#00FFFF#0FF0,255,2550%,100%,100%YesYes 
The HTML 4.01 and CSS2 color names with their corresponding numerical values. Members of the Websafe and Reallysafe palletes are marked.

indexnamedpropcolorwebsafe

Next Page...

https://www.internet.com/

URL: https://www.webreference.com/html/reference/color/named.html

Produced by Stephanos Piperoglou
Created: December 13, 2000
Revised: October 6, 2003