"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!



Print This Tip

Get E-Mail When New Tips are Online

Return to the Web Development - Fonts page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )