It is hard to give an exact answer to this question, but in general one can say that the risk of using too many colors is greater than the risk of using too few.
Too many colors will make the page feel too busy and it usually makes it harder for the viewer to find the information he or she wants. It is also more tiring to the eyes.
A page with too few colors, on the other hand, risks being seen as a bit boring, but this need not always be the case.
One commonly used rule in these matters is to use three colors.
>> Primary color: This is the main color of the page. It will occupy most of the area and set the tone for the design as a whole.
>> Secondary color: This is the second color on the page, and it is usually there to "back up" the primary color. It is usually a color that is pretty close to the primary color.
>> Highlight color: This is a color that is used to emphasize certain parts of the page. It is usually a color which constrasts more with the primary and secondary colors, and as such, it should be used with moderation. It is common to use a complimentary or split-complimentary color for this (see below).
By now you should recognize the color wheel. If not, please read the section about Color Theory. As mentioned there, the color wheel is very useful when you want to combine colors in a way that is pleasing. Below I will demonstrate some of the most common ways to combine the colors in the color wheel.
The analog colors are those colors which lie on either side of any given color. Often these are color schemes found in nature. A site that makes use of analogous colors usually feels harmonious. The secondary color, as described above, can often be an analogous color.
The complementary colors are the colors which are directly opposite from one another on the color wheel. Complementary colors are contrasting and stand out against each other. Often it is a good idea to use a complementary color as the hightlight color, as described above.
Split complementary is a color and the analogous colors to its complement color. Using split complementary colors can give you a design with a high degree of contrast, yet still not as extreme as a real complementary color. It also results in greater harmony than the use of the direct complementary.
Triad colors are three hues equidistant on the color wheel. When you want a design that is colorful and yet balanced, a triad color scheme might be the way to go.
A monotone color scheme is just one single hue and its variations in terms of tints, shades and saturation. Using saturation and tint/shade variations of a color is always good. However, in most cases I would advise against using a fully monochromatic scheme, as there is a risk of monotony. Using it with pure white or black can be efficient, though.
A monotone achromatic color scheme is a special instace of the monotone scheme which consists of only neutral colors ranging from black to white. A scheme like this can be efficient, but it can very easily look boring. Using an acromatic scheme with just one bright color for highlight can be very effectful.
