"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Web Development - Fonts

Use RGB Colors Or Color Names?

If you use different font colors on a webpage, you probably have to choose between using RGB hexadecimal colors and just color names, such as "white" or "black". With newer browsers, there are no problems with using <FONT COLOR = "black"> instead of <FONT COLOR = "#000000">. However (doesn't that come up a lot!), some older versions of Netscape do not understand named font colors - they only understand the RGB hexadecimal color representations. If you have people browsing your site with those browsers, your font colors may not appear as intended. Worse yet, if you combine the two coloring techniques by defining the background color of a page using "#ffffff" and your font colors with "white", your page may be unreadable with old browsers!

Return to the Web Development - Fonts page.

Print this tip


Get the Newsletter

Thanks For Sharing!



Newest Tips:

Microsoft Word 2010
Make Sure Others Can See Your Fonts
Microsoft PowerPoint 2010
Animations or Video Displaying Poorly?
Google Chrome
[MODIFIED] Report a Malfunctioning Web Page, Crash, or Other Issue
Google Gmail
Show Unread Message Count as an Icon

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download. < more >