We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is the Proper Way to Use an HTML Color Tag?

By Erin J. Hill
Updated May 17, 2024
Our promise to you
WiseGEEK is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At WiseGEEK, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

To properly use an HTML color tag, it is important not only to use all coding correctly, but also to implement the page enhancing technique properly. There is a proper way to use color tags, and general rules of effective web design should be taken into consideration. When used correctly, adding color to a web page can be both attractive and useful in emphasizing the points a site wishes to make.

First, it is important that one know the proper coding for using an HTML color tag. Color tags are found nested inside of the font tag. There are two main ways to let a web browser know which color a particular text segment should be shown in. One can either use specific color names or what is known as a hex color code. For example, if a particular segment of text is to be shown in blue, the HTML color tag could look like this: <font color = "0000FF"> or like this: <font color = "blue">.

Although both of these options can work equally as well for commonly used colors, the hex color code method is more effective in choosing colors that are not as widely known. For one, there are more colors to choose from in the hex code method. Secondly, these codes are more accurately picked up by web browsers, allowing the color to show up the same on any user's computer, regardless of browser. Full hex code listings can be found online.

The second important thing to remember when dealing with HTML color tag coding, is to only use colors where necessary. A general rule of thumb in web design is that if something does not further the purpose of the web page it can probably be left out. Colored text should only be used to add emphasis to a particular word or phrase, or to help text show up better against a particular background. Multi-colored text and rapidly changing colors should not be used because these methods can easily distract visitors to the site.

It is a good idea to keep the background in mind when using an HTML color tag. Do not use light-colored text on a light background, or vice-versa with dark colors. Unless a graphic filled background will be used, it is best to act as though the background will be white.

Another thing to keep in mind is that not all users have the latest web browser installed. For that reason, when HTML color tags are used, only common colors and fonts should be chosen. That way, everyone’s browser is more likely to read every aspect of the site. Remember, if no one can read the page, the message is lost and the website is rendered useless.

WiseGEEK is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Related Articles

Discussion Comments

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.