HTML documents use RGB (Red-Green-Blue) color coding for assigning
the color to background, text, local background of table element, or
local text. (See the source text of this document.)
Each color available in RGB coding is assigned a unique number
COLOR = #RRGGBB
where RR, GG, BB are hexadecimal numbers such that
|
RR denotes the intensity of red color varying from 00 = off, to FF = most shining,
GG denotes the intensity of green color varying from 00 = off, to FF = most shining,
BB denotes the intensity of blue color varying from 00 = off, to FF = most shining,
|
For example, white=#FFFFFF, black=#000000, red=#FF0000.
Clearly, there is 16^6 = 16 777 216 codable colors.
I have picked out some 50 basic colors and arranged them into
a table presenting them as both background and font colors together with their
RGB code and a name. Some of the names were made up by myself, so
they might not correspond to the commonly used ones. Also the
grouping of colors into sections is just a matter of personal
feeling.
The way you see the colors depends on the browser you use.
I don't have much experience with different browsers, but as to
Netscape I'm affraid that
you need Netscape 3+ to see the colors properly!
This page was written for all (including myself) who
want to improve their knowledge of writing html documents.
Please report any bugs to
rokyta@karlin.mff.cuni.cz. Also the information on how this page
is seen by browsers different from Netscape will be appreciated.