18 colors on the page, 113 values in the CSS
How many colors does a website use?
The median website uses 18 colors on its home page, 9 of them more than a grey, in 3 hue families, while its CSS holds 113 distinct color values: most of those are shades of the same few colors. Recolor (recolor.page), a website color changer, counted both on the home pages of the 1,000 most-linked websites on October 8, 2026.
Last updated
| Measure | Median site | Middle half of the sites |
|---|---|---|
| Distinct color values in the CSS | 113 | 58 to 189 |
| Colors in use on the page | 18 | 12 to 25 |
| Colors in use that are not greys | 9 | 5 to 14 |
| Hue families | 3 | 2 to 5 |
| Share of the color that is grey | 73% | 59% to 88% |
| Custom properties that hold a color | 47 | 3 to 148 |
Values in the CSS, colors on the page
Two counts answer the question. A site's CSS writes many exact values: the median site has 113, half of the sites between 58 to 189, and the most 1,085. Many sit in rules that match nothing on the page, and many are near-identical shades. Merged where they lie within 0.04 of each other in OKLab, and counted only where they reach an element, they shrink to the colors a visitor can tell apart: 18 on the median home page, between 12 to 25 for half of the sites. The most common range is 20 to 29 colors.
Share of sites, by the number of colors in use
The numbers
| Colors in use | Sites | Share |
|---|---|---|
| 0 to 4 | 50 | 5% |
| 5 to 9 | 102 | 10% |
| 10 to 14 | 189 | 19% |
| 15 to 19 | 201 | 20% |
| 20 to 29 | 308 | 31% |
| 30 to 39 | 90 | 9% |
| 40 to 59 | 47 | 4.7% |
| 60 to 79 | 11 | 1.1% |
| 80 to 99 | 1 | 0.1% |
| 100 to 149 | 0 | 0% |
| 150 or more | 1 | 0.1% |
Most of them are shades
Of the 18 colors in use on the median page, 9 have a hue and the rest are greys; greys carry 73% of the color, weighed by what each covers. The colored ones group into 3 hue families on the median site, each a color with its darker, lighter and hover shades.
The plainest and the busiest
The counts spread widely. 15% of the home pages use fewer than ten colors and 6% use 40 or more; the busiest uses 170. In the CSS the range is wider still: 8.4% of the sites write fewer than 25 distinct values, 4.6% write 400 or more, and one writes 1,085. Unused rules count among the values: a framework's whole palette can sit in the CSS while the page uses a few of its colors. The study shows which frameworks the sites carry.
What that means for a palette
A short palette of chosen colors, as How many colors a website palette needs suggests, fits what real sites do: a few families, each spread over shades, and greys for most of the page. Recolor maps a palette onto a page the same way, family by family, so a few swatches cover all 113 values of the median site; Strength, neutral tint and overrides shows how. To count your own site's colors, load it into Recolor: the foot of the palette shows how many colors in use it found, counted as this page counts them.
How the colors were counted
Recolor's engine read each home page with its scripts off: style sheets, style attributes and color
attributes, every color as sRGB with transparency aside. Colors only an image or a script carries are not in the
count. The study has the other results and the data, the methodology every
definition, and Which sites load the same counts for the sites Recolor tests itself on.
Common questions
Is there an average number of colors per website?
Yes, as a median: 18 colors in use on the home page and 113 distinct values in the CSS, across 1,000 of the most-linked sites.
Do websites really use more than a hundred colors?
No, not as a visitor sees them. Their CSS often writes that many values, but merged near-identical ones leave 18 colors in use on the median page.
Do black, white and greys count as colors here?
Yes. They are colors in use like any other, and they carry 73% of the color on the median page; 9 of its colors have a hue.
Do the biggest websites use more colors?
No. The 100 highest-ranked sites that loaded write a median of 94 distinct values in their CSS, against 113 for all 1,000 sites; ranking high does not take more colors.
Does the count include colors in images?
No. Photos, logos and video keep their colors and are not read; only colors in the page's CSS count.
Can I count the colors of my own site?
Yes. Load it into Recolor: the foot of the palette shows how many colors in use the engine found, and Site colours lists them.
Sources
- The colors of the web 2026, Recolor recolor.page
- Majestic Million, Majestic majestic.com