This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

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!


 


Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to Web Development - Fonts - Use RGB Colors Or Color Names?
 
Standard disclaimer applies - read http://malektips.com/disclaim.html.