The 16 standard web colors are predefined color names that are recognized by all major web browsers. These colors allow web developers and designers to specify colors on a web page without having to use hex or RGB values. The 16 colors were originally defined in the HTML 3.2 specification in 1996 as part of the X11 color system. They have become a standard part of CSS and HTML.
History of the 16 Web Colors
The first web browsers could only display a limited palette of colors. In the early 1990s, Tim Berners-Lee, the inventor of the World Wide Web, created a list of just 16 colors that all web browsers should support. This list became known as the X11 colors or the 16 basic HTML colors.
The X11 color names and hex values were defined in the X Window System used by Unix computers in the 1980s. The web incorporated these same 16 colors to ensure cross-browser compatibility. By standardizing on this small set of colors, Berners-Lee helped ensure that early web pages would look consistent on different browsers and platforms.
The 16 original HTML colors were:
Color Name | Hex Value |
Black | #000000 |
Green | #008000 |
Silver | #C0C0C0 |
Lime | #00FF00 |
Gray | #808080 |
Olive | #808000 |
White | #FFFFFF |
Yellow | #FFFF00 |
Maroon | #800000 |
Navy | #000080 |
Red | #FF0000 |
Blue | #0000FF |
Purple | #800080 |
Teal | #008080 |
Fuchsia | #FF00FF |
Aqua | #00FFFF |
These original colors were chosen to be easy to distinguish, even on low-quality displays. They ensured readable text and provided enough variety for simple colorful designs.
The 16 HTML Color Names
Here are the 16 standard web colors as defined in HTML and CSS specifications:
Black
Black is the darkest color. It has the hex code #000000. In RGB colors, black is made by having no light from the red, green, and blue channels (0,0,0).
Black is often used for text and outlines. It creates an elegant, minimalist look when paired with lighter colors. Black absorbs all light and can make elements stand out on white backgrounds.
Silver
Silver is a light gray color with the hex code #C0C0C0. In RGB, silver is 192,192,192. Silver is used to represent the metallic element of the same name.
This neutral gray shade works well for backgrounds and borders. It has an elegant, modern feel and goes with any other color.
Gray
Gray has the hex code #808080 and RGB values 128, 128, 128. It is a medium dark gray, halfway between black and white.
Gray is commonly used for text that needs to be subtle. It can also be an accent color to make sections stand out when used with black text.
White
White has the hex code #FFFFFF. In RGB, white is 255, 255, 255. White contains maximum brightness from the red, blue, and green channels.
White is used for content backgrounds to make the text easy to read. It can signify purity, cleanliness, and space.
Maroon
Maroon is a dark red color with hex #800000. In RGB, maroon is 128, 0, 0.
Maroon takes its name from the French word for chestnut. It represents autumn and earthiness. Maroon is popular for creating a sense of heritage or tradition.
Red
Red has the hex code #FF0000. In RGB values, red is 255, 0, 0. It sits at the end of the visible color spectrum.
Red commands attention without being as overpowering as maroon. It represents energy, passion, aggression, and excitement.
Purple
Purple is a blend of red and blue with the hex code #800080. In RGB, purple is 128, 0, 128.
Purple is associated with royalty, wisdom, and imagination. It contrasts well with yellows for an eye-catching combination.
Fuchsia
Fuchsia has the hex code #FF00FF. In RGB, fuchsia is 255, 0, 255, mixing maximum red and blue.
Fuchsia is a vivid pink shade named after the fuchsia flower. It represents playfulness, fun, and energy. Fuchsia allows headings and buttons to stand out.
Green
Green has the hex code #008000. In RGB values, green is 0, 128, 0, with full green but no red or blue.
Green represents nature, renewal, and environment causes. It also signifies “go” making it popular for call-to-action buttons.
Lime
Lime is a bright green with the hex code #00FF00. In RGB, lime is 0, 255, 0 with full green and no other colors.
Lime evokes freshness and zest. It pops against black text but can be harsh on the eyes in excess.
Olive
Olive is a green-yellow with the hex code #808000. In RGB, olive is 128, 128, 0.
Olive represents nature and peacefulness. It is commonly used for military and camping gear for its earthy feel.
Yellow
Yellow has the hex code #FFFF00. In RGB, yellow is 255, 255, 0 with full red and green.
Yellow embodies sunshine, happiness, and warmth. It energizes designs but can also symbolize cowardice.
Navy
Navy is a dark blue with the hex code #000080. In RGB values, navy is 0, 0, 128 with no red or green.
Navy represents confidence and professionalism. Lighter shades work well for corporate designs.
Blue
Blue has the hex code #0000FF. In RGB, blue is 0, 0, 255 with no other colors.
Blue represents calmness, trust, and intelligence. Light blues can feel tranquil while dark blues are formal.
Teal
Teal has the hex code #008080. In RGB, teal is 0, 128, 128 mixing green and blue.
Teal is associated with renewal, sophistication, and spirituality. It is easy on the eyes for paragraphs of text.
Aqua
Aqua has the hex code #00FFFF. In RGB, aqua is 0, 255, 255 combining full green and blue.
Aqua resembles beautiful water. It represents vitality, serenity, and freshness. Aqua naturally draws the eye for emphasis.
Usage of the 16 Colors
The 16 web colors provide a basic color palette for any website or HTML project. Here are some examples of how these standard colors get used:
- Black and white both make ideal page backgrounds to set the tone.
- Grays create subtle backgrounds that don’t distract from text-heavy content.
- Maroon, red, and purple add vibrancy for headings and buttons.
- Green and lime allow call-to-action buttons to stand out.
- Blue variations like navy and aqua convey professionalism and calmness.
- Neutral browns like olive complement natural color schemes.
The 16 original web colors can be combined to generate most hues. For example, purple combines red and blue. Teal mixes green and blue. Designers use these primary colors as the basis for entire color schemes.
While millions of additional colors are now supported in modern browsers, these 16 remain the most widely recognized. Their names ensure colors display consistently across all platforms without using hex or RGB values.
Current Status of the 16 Web Colors
The 16 original HTML colors are now a legacy feature of web design. Modern browsers support millions of colors, allowing for more advanced and nuanced palettes. But the original 16 retain their importance:
- All major browsers still recognize the color names for backward compatibility.
- The colors ensure plain text remains readable in email clients and other applications.
- Designers use the colors as common reference points between projects.
- The colors provide a basic starting palette for new sites and themes.
- Web development courses continue teaching the significance of the 16 colors.
While advanced CSS3 techniques allow for color gradients, shadows, animation, and more – the fundamental 16 colors remain relevant in web design.
Conclusion
The 16 basic web colors have defined the appearance of websites since the earliest days of the internet. These 16 colors were originally chosen for maximum readability on low-resolution displays. As bit-depth grew over time, millions of colors became usable in web pages.
But the original color palette remains a core part of HTML and CSS specifications. All browsers still recognize the 16 color names for backward compatibility. These colors form the basis for accent colors, backgrounds, text, and more on many websites. Their hex codes and RGB values are also commonly used as reference points in design software.
So while expanded color options allow for far more creativity, the 16 original colors continue to have an important place on the web. They ensured text readability and visual consistency in the past. And they continue providing a common framework and legacy support moving forward.