Web design styles - colour and texture
Aurora gradient web design
Aurora gradients are soft, glowing blends of colour, usually green, violet and blue, drifting slowly across a dark background like the northern lights. They’re a staple of SaaS, AI and tech landing pages, where they add atmosphere behind a big headline without needing any imagery.
A live example
This sample page is built with this page’s own CSS. The aurora drifts slowly, and stops if you’ve asked your device for reduced motion. Switch to the common mistake to see it overpower the content.
Spring trips
Plan your next weekend away
Pick a city, choose your dates and we’ll put the whole trip in one place.
Stays
Hotels and flats near where you’ll be. Pick by area, price or how close you are to the station.
Find a stayDone well: the glow stays behind the content, cards sit on dark surfaces, and the motion is slow enough that you only notice it if you look.
What makes it aurora gradients
Glowing colour
Large, soft blobs of green, violet and blue light.
radial-gradient(ellipse ...)A dark background
Deep navy or near black, so the glow has something to shine against.
background: #070b1aSlow drift
The colours move gently, over tens of seconds.
animation: 24sContent on dark panels
Cards and text sit on solid dark surfaces above the glow.
rgba(13,19,40,.72)The CSS
The aurora is three blurred radial gradients on an oversized background that slowly moves. Animating background-position is much cheaper than animating a blur, although the browser still repaints the area, so keep it to the hero. The reduced-motion rule switches it off for anyone who’s asked.
.aurora {
background-color: #070b1a;
background-image:
radial-gradient(ellipse 60% 45% at 20% 10%, rgba(34, 197, 94, 0.45), transparent 70%),
radial-gradient(ellipse 55% 50% at 80% 20%, rgba(139, 92, 246, 0.5), transparent 70%),
radial-gradient(ellipse 60% 40% at 50% 100%, rgba(6, 182, 212, 0.35), transparent 70%);
background-size: 140% 140%;
animation: aurora-drift 24s ease-in-out infinite alternate;
color: #f1f5f9;
}
@keyframes aurora-drift {
to { background-position: 100% 60%; }
}
/* Stop the drift for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
.aurora { animation: none; }
}
/* Content sits on a calm, dark surface */
.aurora .card {
background: rgba(13, 19, 40, 0.72);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
}Tuning the values
| Property | A good starting range | What goes wrong outside it |
|---|---|---|
| Glow opacity | 0.3 to 0.5 | Brighter and the glow competes with the headline for attention. |
| Animation length | 20 to 40 seconds | Faster drift is distracting and can make some people feel unwell. |
| Colours | 2 or 3 | More colours turn muddy where they overlap. |
| Card opacity | 0.6 to 0.8 | Lower and the glow shows through, making text harder to read. |
When it works
- SaaS, AI and developer tool landing pages.
- Hero sections and launch pages.
- Dark-themed brands that want atmosphere without imagery.
When to avoid it
- Light, airy brands, where the effect needs a dark background to work.
- Content-heavy pages, where motion behind text is distracting.
- Sites where every competitor already uses it, since it’s become very common in tech.
Motion and performance
Keeping the motion comfortable
A slowly drifting aurora is calm for most people, but large moving backgrounds can make some people feel unwell. It’s also easy to build in a way that makes the page slow. A few rules keep it comfortable.
Respect reduced motion
Wrap the animation so
prefers-reduced-motion: reduceturns it off completely.Move the background, not a blur
Animating
background-positioncosts far less than animating a largefilter: blur(). For the smoothest result, move an oversized pseudo-element withtransforminstead.Keep it slow
Twenty seconds or more for a full drift. If you notice it moving while you read, it’s too fast.
Pause when hidden
If the aurora is in a hero, pause the animation once it’s scrolled out of view.
What to check when you review an aurora gradient site
Aurora backgrounds are mostly about atmosphere, so the checks are about readability, motion and performance.
.aurora h11. Text over the brightest glow
Check the headline and body text still reach contrast where the glow is brightest behind them.
@media (prefers-reduced-motion)2. Reduced motion
Turn on reduced motion in your system settings and check the aurora stops moving.
animation3. Speed of the drift
Check the movement is slow enough that you don’t notice it while reading.
filter: blur()4. Scrolling performance
Large animated blurs are expensive. Check scrolling on a mid-range phone.
.aurora .card5. Cards over the glow
Check cards are opaque enough that text on them stays readable.
:focus-visible6. Focus outlines
Check focus is visible over the glow and on dark cards.
html7. Light mode
If the site has a light theme, check the aurora either works on light or switches off.
@media print8. Printing
Check the page doesn’t print a solid dark background.
Reviewing with clients
Notes on the exact line the glow washes out
An aurora moves, so the problem a client saw may have drifted away by the time you look. The screenshot in each note shows exactly what they saw. With ClickNote, clients click directly on elements of the website and leave a note, without creating an account or installing a browser extension.
Send your client a review link for the page.
They click the text that was hard to read and say what was behind it.
You get the selector, a screenshot and their device, so you can go straight to the right rule in your CSS.
When the purple glow moves behind this card the text is hard to read.
desktop · Chrome on macOS - 1728 x 1117
.d-card.c2 > .d-textReviewing a site in one of these styles?
Send your client a review link and they can click directly on elements of the website and leave a note, without creating an account or installing a browser extension. You get the selector, a screenshot and their device with every note.
14-day free trial. No card needed. See pricing.