Color and Web Design

This chapter introduces the basics of color theory, choosing color schemes that work, and good practice when dealing with color on the Web.

 

 

This sample is taken from Chapter 2: "Colors" of the Glasshaus Title "Web Graphics for Non-Designers"

Contrast

Black text on a white background, the default color scheme of the Web, is high contrast and very readable, ensuring less frustration for visitors with poor eyesight. Maintaining these typical settings across the Web, however, would lead to a particularly bland experience. Additionally, such strong contrast can affect people with overly light-sensitive eyes. A dark text color with an off-white background color can often be more appropriate.

Adequate contrast between your visual elements (text, buttons, images) and their background environments can be achieved with a color scheme that meets the visual goals of your site, whether that is to be exciting and bold, muted and serious, or modern and unique.

Below are a number of examples of text and background color combinations showing poor contrast (left), and sufficient contrast (right). Remember that reading on the Web can be difficult even with a sensibly contrasting set of colors, so please avoid making it any more difficult.

Color Behavior

How colors behave when near each other is an important consideration for any developer. Adjacent complementary or discordant colors can wreak havoc on the eyes of your users, and because of this, care and restraint should be exercised when using such schemes.

If your design does call for text in one color on a background of its complement, then ensure that the contrast between the two is substantial enough to ease legibility. Reading should not be a battle for your audience!

A light block of color near a dark area will appear lighter than it actually is, and the dark one darker. This is a key example of the visual effects colors have on each other through association. In the image below, the two green blocks are the same size and color. This is also true of the charcoal blocks, and in this case it is especially obvious that when surrounded by black, the charcoal block appears lighter than its counterpart on the silver background.

Vision Impairment

The American Foundation for the Blind estimates the number of people who are blind and visually impaired in the United States as 10 million. With similarly significant numbers in Europe, Oceania, and elsewhere, it is important that your color-based decisions do not negatively impact these people.

Color deficiencies commonly associated with partial sight, for example, can make differentiation of hues between colors difficult. It can also impact the ability to discriminate colors with minimal variation in saturation.

Your designs can account for the visually impaired by ensuring that your color choices regarding critical elements (text, buttons, links, and alerts for example) differ significantly with respect to hue, lightness, and saturation.

Examples of poor (left) and sensible (right) combinations are shown below. The more effective examples provide better differentiation between hue and values of lightness and saturation.

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. The most popular for its over high-quality Dreamweaver extensions and templates.

George is also the founder of Wappler.io - the most Advanced Web & App Builder

See All Postings From George Petrov >>

Comments

Great Tutorial!

December 5, 2002 by Cecilia Martinez

I want to add it to my favorites but I can't find a way to do it!

Thanks!

Cecilia

RE: Great Tutorial!

December 5, 2002 by George Petrov
Just click on the Favorites icon - that is right of the title

RE: RE: Great Tutorial!

December 6, 2002 by Cecilia Martinez
Thanks George! I figured it out once I sent the message  :-)

Great Tutorial

December 7, 2002 by Jeremy Conn
Awesome tutorial... very nice to see a focus on how traditional design skills need to stay important regardless of the medium. Well thought out and arranged.
See all 11 Comments

You must me logged in to write a comment.