Skip Navigation.

NWE Help: Web: Authoring: HTML: Color

NWE Home :: Help :: Web :: Authoring :: HTML

To color the text, backgrounds, and links of your web document, add some attributes to your <BODY> tag so it looks like this*:

<BODY BGCOLOR="#333366" TEXT="#FFFFFF" LINK="#FF9933" VLINK="#00CC33" ALINK="#ff33cc">

The funny looking bits of text (#FFFFFF, #00CC33) are hexidecimal colors. Here is the way they work (asWe makes this really easy if you click on the body tag and choose "Edit tag...").

BGCOLOR
Sets the background color of the page
TEXT
Color of most text on the page.
LINK
Sets the color of every unvisited link on the page, including borders on images that are links.
VLINK
Color of any links you have visited.
ALINK
Color of a link while you click on it.

more fun with c o l o r s

There are a few web authoring tools which can help you pick a single color or a group of colors for an entire document in our color directory. One is the color palette which should work in all browsers.

* The HTML code on this page is represented in Blue to make it easier to read.

Back: Lists
Next: Tables