Attribute of
<basefont>
What does <basefont color=""> do?
Used to set the text color for a whole document. Deprecated. Use CSS instead.

The right way to set the base font color

Use CSS for all font styling. The color property is used to define the font color, usually using hex color or RGB color values. Setting the color in the body selector assigns that color to everything on a page (unless overridden by a more specific directive).

/* By Hex Color */
body {
 color: #000000;
}


/* By RGB Value */
body {
 color: rgb(0,0,0);
}


/* By Common Name */
body {
 color: black;
}

Specifying colors by hex-number is, by far, the most common.