Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

HTML Color Chart / Font Color Codes

 
 
You can designate the text color on your web page using the 'color' attribute in the HTML font element. There are two different methods of entering the value for the color attribute. The easiest way is to use any one of the 140 official recognized color names which make up part of the so-called X11 Color List.

Example:


<font color="green">Your green text goes here.</font>



HTML Color Chart


And of course now you must be wondering what all the official color names are. Well, for your convenience, I've constructed an interactive color chart below displaying all of the official color names in the so-called X11 color list that can be used in web page code. Any of these color names can be used to define colors in HTML, CSS and/or Javascript. Hence any of these colors may be used in your HTML font color codes.

Hover over the color swatches in the color chart on the left to view color names. Click on any swatch to select that color.

Your color:
    


Hexadecimal Color Codes


However if you want a much wider range of colors to choose from, color values can also be represented using hexadecimal color codes (which must be preceded by a hash mark '#') which allows you to choose from among potentially 16 million color definitions as opposed to just 140.

The hexadecimal color code is basically just a six-digit code using any number from 0 to 9 or any letter from A through F (case insensitive). The code applies the RGB (red, green, blue) color system where the first two digits control red, the second two digits control green and the last two digits control blue. As a basic example, #ff0000 = bright red, #00ff00 = bright green, and #0000ff = bright blue.

Here's an example of using a hexadecimal color code in the font element:


<font color="#008000">Your green text goes here.</font>



HSB Color Slider


Now, even when using RGB color slider tools, whipping up your own custom hexadecimal colors can be a tedious and mind boggling task. When you only have various saturations of red, green and blue to work with, it's not readily apparent how to make various other colors and tones, like orange, for example.

Hence, once again for your convenience, here's a user-friendly HSB color slider that will allow you to quickly and easily cook up your own hexadecimal color codes. These color codes can be used to define colors in HTML, CSS and/or Javascript which, of course, includes the HTML font element.

How to use the HSB Color Slider

Here are a few quick tips on how to use this HSB color slider effectively ~

Basics:
  1. Use the Hue slider to select a color.
  2. Use the Saturation slider to define how pure the color is rendered.
  3. Use the Brightness slider to define how light or dark the color is rendered.
How to make Black
Set the Brightness slider at 0.
How to make shades of Gray
Set the Saturation slider at 0 and then adjust the Brightness slider.
How to make White
Set the Saturation slider at 0 and the Brightness slider at 100.
How to make Earth Tones
Set both the Saturation and Brightness sliders around 50 and then use the Hue slider to select your color. Then afterwards, you can tweak the Saturation and Brightness according to how you like it.



Default Text Color


And finally, you can set the default text color on your web page in the absence of any other font color code declaration. You do this by using the text attribute in the <body> tag. You can use named colors or hexadecimal color codes. Example:


<body text="Navy">


The above example declares that, unless otherwise specified by any color attributes in <font> tags, the text color on your web page will be Navy blue.


Now let's learn how to set the font size on your web page...


See also:
  • What is Web Hosting?
  • How to Make a Web Page




Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
INTRO TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell