Color Design in Webpages

Page introduction!

I have been playing around in HTML for a while and have been studying the link between color and a good user experience. What I have personally learned from experimenting and observing different websites is that predefined HTML colors and questionable color schemes are not always optimal for a good user experience.

It is very tempting to use the predefined HTML color names but I strongly advise against using them haphazardly. There are many alternatives that are easier on the eyes, less limiting, and easier to read. This page is still a work in-progress but will be updated whenever I am able to get to it.

Before we begin, the one essential tool you'll need for web color design (And web design in general, in fact) is the Color Contrast Analyzer. It is used for for measuring the contrast ratio of two colors, which is the most important part of creating a readable document/webpage/etc. You will want to aim for a contrast ratio of 4.5:1 for small text or 3:1 for large text and non-text content.

General rules

Explore the colors!

There are many alternatives to the W3C colors that I think are much easier on the eyes. In fact, you can create and test different color combinations in the Color Contrast Analyzer and use them in your CSS! You can use these eleven swatches as a good reference or starting point for making your own.

Your needs are going to vary depending on the website you are creating, but each color group has some general rules to follow for good color design.