Named Colors and Hex Values in HTML

Part of the HTML, XHTML & CSS For Dummies Cheat Sheet

The following table contains a list of named colors you can use in HTML and CSS code to create a more colorful Web site. The colors are given with their corresponding RGB hexcode values and a representative color swatch.

Name Hexcode
Aqua #00FFFF
Black #000000
Blue #0000FF
Fuchsia #FF00FF
Gray #808080
Green #008000
Lime #00FF00
Maroon #800000
Navy #000080
Olive #808000
Purple #800080
Red #FF0000
Silver #C0C0C0
Teal #008080
White #FFFFFF
Yellow #FFFF00
blog comments powered by Disqus

SERIES
HTML, XHTML & CSS For Dummies Cheat Sheet

Advertisement

Inside Dummies.com