Design library

Real web page examples

Sites with outstanding design, measured and documented. Each entry brings colors with hex codes, typography, spacing and a design.md to copy.

  • 62 designs in 0 categories
  • compact and extended design.md
  • To inspire you and your AI
Explore the library

Free resources

See all 11 resources
Reports and benchmarksData with sourcesPublic figures to decide.
Calculators and assessmentMeasure your numbersCalculate and compare.

Website colors and typography: how to choose them without being a designer

Por

·

· Actualizado

Ilustración del artículo: Colores y tipografía para tu página web: cómo elegirlos sin ser diseñador

Short answer

To choose your website colors and typography, use one main color, one action color for buttons, neutrals for background and text, and no more than two font families. What decides whether it works is not that it looks “pretty”, but that it reads well, matches your brand and lets the main button stand out effortlessly.

Many people get stuck on colors and typography because they think it is a purely aesthetic decision, a matter of taste. It is actually a functional decision: colors and fonts determine whether your page reads comfortably, whether it conveys the seriousness you want and whether visitors know where to click. Taste matters, but it comes after readability and consistency.

This guide gives you a simple method to choose colors and typography for your website even if you are not a designer, with examples and checks you can do yourself. It works whether you build it on your own or hire someone and want to give an informed opinion.

Start with what you already have: your logo and brand

The website palette should come from your brand, not from a trend. If you already have a logo, look at the colors it uses: your main color comes from there. If your logo is a single color, that is the starting point. If it has several, pick the one that represents you most and use it as the lead, keeping the others as support in small doses.

If you do not have a logo or identity yet, sort that out before designing the website, because changing colors halfway forces you to redo buttons, images and backgrounds. The guide to what you need to build a website covers the rest of the material you should have ready.

The minimum palette that works

A website does not need ten colors. Four well-covered roles are enough:

  • Main color: your brand color. It is used in the logo, highlighted headlines and accents.
  • Action color: the one used by main buttons. It should contrast clearly with the background and not be repeated in decorative elements, so the eye always links it to “click here”.
  • Neutrals: a light or dark background and a couple of grays for secondary text and lines. They take up the most space and give the eyes rest.
  • State colors: one for success (for example, a green) and one for errors (a red). They serve forms and notices.

As our own example: the Cuva Lab website uses a very dark, almost greenish black background, a bright green as the action color and light neutrals for text. Green only appears on buttons and important details, so it stands out. That scarcity is what makes it effective.

Contrast: what affects readability most

Contrast is the difference in brightness between text and its background. If it is low, people strain to read or leave. The web accessibility guidelines (WCAG) ask for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text. You do not need to calculate it by hand: free tools such as the WebAIM contrast checker tell you when you paste in both colors.

  • Avoid light gray on white for important text.
  • Be careful with text over photos: add a dark layer or a background behind the text.
  • Also check the button text against the button color, not just against the page background.
  • Do not use color alone to convey information (for example, an error shown only in red). Pair it with text or an icon.

A quick test is to look at your website with your phone brightness at minimum and under the light of a window. If the text gets lost, the contrast is not enough.

What colors say (and what they do not)

There are cultural associations: blue tends to suggest trust, green growth or nature, red urgency or energy. They are useful hints, not rules. What matters more is consistency with your industry and audience, and that the color does not clash with what your brand already communicates. A law firm in neon pink probably will not convey what it wants, and neither will a coffee shop in corporate gray.

And be wary of studies promising that “an orange button converts more than a green one”. What works is the one that contrasts best with the rest of your design. If you want to know which performs better, test it with your own visitors, not with another site’s promise.

Typography: two families at most

The practical rule is to use two font families: one for headlines and one for body text, or even a single one with several weights. More than that looks messy and also makes the page load slower, because each font is a file that has to be downloaded.

  • For long text choose a clear, open font with no ornaments. Base size of 16 to 18 pixels and line spacing of about 1.5.
  • For headlines you can be more expressive, with more weight or character, as long as it reads effortlessly.
  • For data and details (prices, labels, codes) a third supporting font can work, but only if it adds something.
  • Use weights (regular, bold) instead of mixing different fonts to create hierarchy.

A good visual hierarchy means that, without reading anything, you understand what matters most: the large headline, a smaller subheading, the text and the button that stands apart. If everything has the same size and weight, nothing stands out.

Google Fonts or your own fonts

Google Fonts offers a broad, reliable free catalog. For better performance and privacy, host the font files on your own server instead of loading them from outside, and limit yourself to the weights you actually use. Each extra weight is one more file. If you have a licensed corporate typeface, check that the license includes web use.

Consistency: the rule that ties it all together

Consistency matters more than any single choice. If you use green for buttons, make them all green. If one section headline has a given size, keep that size for all headlines at the same level. That repetition creates the feel of a solid brand and saves visitors mental effort.

That is why in our projects we define these values once, as design variables (colors, sizes, spacing, corner radius), and the whole website reuses them. If you change a color one day, it updates everywhere at once.

Common mistakes

  • Using too many colors with no hierarchy.
  • Choosing the palette by fashion and not by brand.
  • Buttons that do not stand out or get confused with other elements.
  • Pale gray text “for elegance” that nobody can read.
  • Mixing three or four different fonts.
  • Tiny font sizes on mobile.
  • Not checking how colors look on different screens.

A five-step process to decide

  1. Review your logo and extract the main color.
  2. Choose a different action color with good contrast for buttons.
  3. Define background, text and grays, and check the contrast of the combinations.
  4. Pick one font for headlines and one for text, or a single family with weights.
  5. Test everything on a phone, outdoors and with low brightness.

With that you have a solid base for your visual identity on the web. If you would rather have someone solve it with you, it is part of what we do in our service of website design for small businesses, and you can see different palettes applied in our demo templates. Once the identity is ready, the next step is content: our guide to homepage copy.

How to apply the palette on a real page

Once the palette is defined, the temptation is to use it everywhere. Resist. On a typical homepage, background and text take up almost everything. The main color appears in the headline or a graphic detail, and the action color lives only in buttons and a couple of key links. If you count how many times the action color appears on one screen and it is more than two or three, you are likely diluting its strength.

Repeat the same logic on every page: the first element the eye should find is the headline, the second is the main button. When that hierarchy holds across pages, visitors learn in seconds how your website works and move with confidence, which is exactly what you want.

Frequently asked questions

How many colors should a website have?

Four roles are enough: main, action, neutrals and states. In practice, between three and five visible colors.

How do I check if my text has good contrast?

With a contrast checker like WebAIM’s: paste the text and background colors and it tells you whether they meet the recommended minimum.

Can I use any typeface I want?

Yes, as long as it reads well and is licensed for web use. Google Fonts are free and safe to use.

Is a light or dark background better?

Both work. What matters is contrast and fit with your brand. Dark feels more modern. Light is usually more neutral for long text.

Sources and useful reading

Written by

Newsletter

A practical guide in your inbox

Every week, one clear idea to help your website attract clients: SEO, pricing, stores and conversion. No filler, and you can unsubscribe anytime.

Get a website quote

Want us to do it for you?

Tell us about your business and we reply on WhatsApp with a clear proposal and a price in USD.

  • Websites from $349 USD and stores from $549 USD
  • Delivery date confirmed in writing
  • Built for Google and AI assistants

Want us to create your brand?

Complete logo and brand kit for your website, your social media and your documents.