Colors are chosen by name. The 16 names:
Preview: Commodore 64, 40 columns
black white
red cyan
purple green
blue yellow
orange brown
pink darkgrey
grey lightgreen
lightblue lightgrey
On this black preview screen, black is invisible.
| Name | Also written |
|---|---|
black |
|
white |
|
red |
|
cyan |
|
purple |
magenta |
green |
|
blue |
|
yellow |
|
orange |
|
brown |
|
pink |
lightred |
darkgrey |
darkgray |
grey |
gray |
lightgreen |
|
lightblue |
|
lightgrey |
lightgray |
Where colors are used
- In the text, as tags:
<yellow>text</>. - In stylesheets and in the page header:
link: lightblue.
On different machines
Each client maps a name to the nearest color it has. The same page may therefore look a little different on a C64, a ZX Spectrum or an Amstrad CPC. Clients without colors ignore them. Write pages so that they still make sense without color.