What is a mesh gradient?
A mesh gradient is a background made of several soft colour points that blend into each other. A linear gradient moves in one direction from colour to colour; a mesh gradient spreads colour from many points, so it looks more like light than like a stripe.
In CSS, a mesh gradient is a stack of radial gradients on one element. Each radial gradient is one colour point that fades to transparent, and the background colour shows through where no point reaches. No image file is needed.
What colours do SaaS homepages use?
About 6 in 10 SaaS homepages (60.7% of 201) have no clear accent colour: they are black, white and grey. Of the 39.3% that do, blue leads by far with 44.3% of accents, then violet and orange.
44% of the 200 hero sections we checked use a dark background. A dark mesh gradient fits that style; a light, pastel mesh suits the monochrome majority, because it adds colour without a strong brand hue.
Method: for each site, the accent is the most-used clearly coloured screen colour (saturation at least 35%, lightness between 20% and 85%, at least 0.5% of the captured pixels). The presets above are seeded with real accents from this data.
Accent hue of the 79 SaaS homepages (of 201) that have a clear accent colour.| Accent hue | Share of sites with an accent | Sites |
|---|
| Blue | 44.3% | 35 |
| Violet | 11.4% | 9 |
| Orange | 10.1% | 8 |
| Yellow | 8.9% | 7 |
| Teal | 8.9% | 7 |
| Green | 7.6% | 6 |
| Pink | 6.3% | 5 |
| Red | 2.5% | 2 |
As of October 2026 · Source: BlockSnap crawl of SaaS homepages (screen colours measured from full-page captures)
How to use a mesh gradient on a SaaS landing page
Put the mesh gradient behind the hero only. One soft background at the top sets the mood; the same effect on every section makes the page loud and hides the content.
Keep the hero text readable: aim for a contrast ratio of at least 4.5 to 1 between the text and the background behind it. Place the brightest points away from the headline, or switch to a dark base with white text.
Add a little grain. Smooth gradients over large areas can show visible steps of colour, called banding; fine noise breaks up those steps. Keep the file small: the CSS output is a few hundred bytes, while a full-width PNG of the same gradient can weigh hundreds of kilobytes.
CSS vs PNG vs SVG: which should you use?
Use CSS on your website. It is the smallest option, it scales to every screen size and you can change a colour in one line.
Use the PNG where CSS cannot go: social images, slides, email headers, app store art or design tools. Choose 1920 x 1080 for a full-screen background or 1200 x 630 for an Open Graph share image.
Use the SVG when you need a vector file that scales without blur, for example in Figma or in print. It keeps the same points and grain, and it stays small, but very large SVG filters can be slower to draw than CSS.