Short answer: white, black and grays lead; the first blue is Bootstrap's
The most common hex colors on websites
The hex color code seen most on web pages is #ffffff, which appears among the five heaviest colors on 86% of the 1,000 most-linked home pages that Recolor (recolor.page) measured on October 8, 2026. Next come #000000 on 42% of sites and #333333 on 6.8%. Grays fill the entire top ten list. The first color with a hue is Bootstrap 5's blue #0d6efd, found on 15 sites, as measured in The colors of the web 2026.
Last updated
| Rank | Hex code | Sites | Share of the sites |
|---|---|---|---|
| 1 | #ffffff | 860 | 86% |
| 2 | #000000 | 424 | 42% |
| 3 | #333333 | 68 | 6.8% |
| 4 | #222222 | 40 | 4% |
| 5 | #e5e7eb | 39 | 3.9% |
| 6 | #666666 | 33 | 3.3% |
| 7 | #eeeeee | 32 | 3.2% |
| 8 | #f0f0f0 | 29 | 2.9% |
| 9 | #cccccc | 23 | 2.3% |
| 10 | #999999 | 21 | 2.1% |
Which hex codes lead
To measure which colors dominate, each site's colors were weighed by how much of the page they cover, a background by its area and a text color by the elements it paints, and the five heaviest were recorded. The measurement details are explained in the study's methodology.
Pure white, #ffffff, is among the heaviest colors on 860 sites, or 86% of the sample, as documented on the page for white. Pure black, #000000, is among the heaviest on 424 sites, or 42%, detailed on the page for black.
The remaining positions in the top ten belong entirely to neutral shades and grays. Dark grays come next, with #333333 on 68 sites and #222222 on 40 sites. In fifth place, #e5e7eb appears on 39 sites; Tailwind CSS v3's color docs show this is Tailwind gray-200. Further down the ranking are lighter and mid grays: #666666 on 33 sites, #eeeeee on 32 sites, #f0f0f0 on 29 sites, #cccccc on 23 sites, and #999999 on 21 sites.
Why the top ten are gray
The top ten hex colors are all grays because the weight follows how much of the page a color covers. A site's largest visual surfaces are its main page background, card panels, paragraphs of text, and divider borders between layout sections. On most of the sites, designers style those large structural areas in white, black, or an intermediate gray.
A brand's accent or theme color usually covers much less visual area than the background or text. The main color of a site, defined as its heaviest color with a hue, is analyzed separately on the most common website colors page, where blue leads.
The blues, and where they come from
Among all colors that carry a hue, the four hex codes seen most often in the top five heaviest colors are all
shades of blue. Three of these four blue shades originate directly from default palettes of the Bootstrap
framework. The fourth blue hex code is #3366cc, found on 13 sites.
These counts come from the study's dataset.csv file:
#0d6efdon 15 sites: Bootstrap's color docs for version 5.3 show this is$blue.#007bffon 14 sites: Bootstrap's theming docs for version 4.6 show this is$blue, which serves as$primary.#337ab7on 13 sites: Bootstrap's customizer for version 3.4 sets this as@brand-primary, calculated asdarken(#428bca, 6.5%); the base shade#428bcaitself appears on 9 sites.
The distribution of sites across different framework releases is tracked on the page studying how many websites use Bootstrap.
What the count cannot see
The study loaded each home page a single time with JavaScript disabled and read the colors in its CSS. As a result, colors that exist only inside photographs, illustrations, embedded video, or canvas elements are not counted in the dataset.
In addition, color codes are matched strictly by their exact hex strings. Two color codes that sit only one digital step apart count as two completely separate colors rather than being combined.
Every tested domain has an individual profile on the website colors section displaying its five heaviest shades. The CSS named colors and Tailwind's shades each have a page among the color pages.
Trying another palette on a site
When you test a new theme, Recolor repaints a site's background, borders, and text alongside its accent colors. It maps the page background towards the lightest color in the chosen palette and text elements towards the darkest color to preserve contrast.
To see how another palette looks on an existing website, open the Recolor app, enter an address or load an HTML file, and press Space to cycle through palettes.
Common questions
Is white the most common color on websites?
Yes. #ffffff is among the five heaviest colors of 86% of the most-linked home pages.
Is #333333 a common text color?
Yes. It is the third hex code seen most, on 68 of the 1,000 sites.
Is a blue in the top ten?
No. The first color with a hue, Bootstrap 5's #0d6efd, is among the five heaviest colors of 15 sites.
Does the study count colors in images?
No. It reads the colors in each site's CSS; photos, video and canvas keep theirs.
Can I see a site's five heaviest colors?
Yes. Every site in the study has a page with its palette and its five heaviest colors.
Can I use the data?
Yes. The dataset is licensed CC BY 4.0; credit Recolor and link the study.
Sources
- Recolor's colors of the web 2026 study recolor.page
- Bootstrap's color docs for version 5.3 getbootstrap.com
- Bootstrap's theming docs for version 4.6 getbootstrap.com
- Bootstrap's customizer for version 3.4 getbootstrap.com
- Tailwind CSS v3's color docs v3.tailwindcss.com