The short version
- A gray gradient looks considered when its greys carry a slight tint, either cool towards blue or warm towards brown.
- Mixing warm and cool greys in one gradient makes it look dirty, so choose one temperature and keep it.
- Metallic greys come from a sharp, bright band between darker stops, which imitates light catching a surface.
- Grey gradients band more visibly than colourful ones, and a fine grain layer is the usual fix.
- One saturated accent colour against a grey gradient makes the whole design look deliberate.
On this page
A gray gradient stops looking boring the moment its greys are tinted. Pure neutral greys, the ones with equal red, green and blue, feel flat and digital. Nudge them slightly cool, towards blue, and you get fog, slate and steel; nudge them warm, towards brown, and you get stone, concrete and pewter. Add light that comes from somewhere and one accent colour, and grey becomes calm, modern and quietly confident. Codes for each follow.
Warm grey or cool grey: pick one
Cool greys feel technical, clean and precise. Warm greys feel architectural, natural and soft. Both work beautifully alone. Together in one gradient they fight, and the result looks like a smudge. Look at the swatches below in pairs: the top row leans blue, the bottom row leans brown, and the difference is small but obvious once you have seen it.
Cool and warm gray gradient codes
Fog and slate are the cool pair: fog for light, airy layouts and slate for serious dark ones. Storm adds a lit cloud, which gives a dark grey real depth. Stone and concrete are the warm pair, closer to building materials, and graphite is the near black you can use instead of plain black.
If you go darker still, the black gradient codes carry on from graphite. For designs built from one hue at many lightness levels, see monochrome gradient.
Silver, steel and other metallic grey gradients
Metal is not a colour, it is a reflection. A silver gradient works because of a sharp, bright band squeezed between darker stops, the way light catches a curved surface. Gunmetal uses the same trick at a darker level, and brushed steel adds fine parallel lines. These are bold, so use them for a badge, a heading plate or a single panel rather than a whole page.
Brushed steel looks best when the lines sit over a soft lit gradient instead of on their own. Two layers do it:
.steel {
background-color: #b9bec4;
background-image:
repeating-linear-gradient(90deg, rgb(255 255 255 / 0.07) 0 1px, transparent 1px 3px),
linear-gradient(135deg, #9ea4ab 0%, #e8eaed 45%, #b9bec4 55%, #7f868e 100%);
}Grey plus one colour
Few backgrounds set off a single strong colour as well as grey. The accent looks brighter against neutral than it ever does against other colours, so a little goes a long way: one word, one button, one line. Choose the accent by industry and mood.
Hex
#3b82f6Reads as
Good for
Hex
#f97316Reads as
Good for
#a3e635Reads as
Good for
#f2c6c2Reads as
Good for
#c9a24aReads as
Good for
There are full schemes built this way in tech colour palettes and neutral colour palettes.
Grey that looks deliberate
Looks unfinished
- Pure neutral greys with no tint
- Warm and cool greys in one blend
- Visible bands across a smooth surface
- Three or four accent colours
- Mid grey text on mid grey background
Looks deliberate
- A slight blue or brown tint throughout
- One temperature from start to finish
- A fine grain over the whole gradient
- One accent, used sparingly
- Near white or near black type, never mid grey
Banding deserves its own warning. Greys have no hue to distract the eye, so every step in a smooth gradient shows, especially on large screens and after compression. A light noise layer hides it; CSS noise texture has a snippet, and gradient banding explains why it happens.
Grey gradients on websites and in dark mode
On the web, grey gradients do their best work quietly. A fog gradient behind a feature section separates it from a white page without a hard edge. In dark mode, a graphite gradient that lifts slightly towards the top of a card gives it depth, where a flat grey would look like a hole. Keep the change between stops small, a few percent of lightness, so the gradient reads as light rather than decoration. Dark mode design covers the wider rules for dark interfaces, from surface colours to contrast.
Gray gradient backgrounds in practice
Architects, engineering firms and software companies use grey because it lets the work speak. A slate gradient with white type and one blue accent makes a project announcement look precise; a warm stone gradient with graphite type makes a portfolio cover feel tactile. Architecture firm branding shows how far a restrained palette can go.
A LinkedIn link image on a slate Mark. White type on the darker side; the lit area stays clear of the words.
Subtle backgrounds are where a design system pays off. In Gradiently a grey Mark carries its own grain, which keeps banding at bay, and Auto ink picks light or dark type line by line as the grey shifts across the frame.
Questions people ask
How do I make a gray gradient look less boring?
Tint the greys slightly cool or warm, light the gradient from one side, add fine grain and use one saturated accent colour.
What is the CSS for a silver gradient?
Use a bright band between darker stops, for example linear-gradient(135deg, #e8eaed 0%, #b9bec4 25%, #f5f6f7 50%, #9ea4ab 75%, #d6d9dd 100%).
Is it grey gradient or gray gradient?
Both are correct. Gray is the American spelling and grey is the British one; they mean exactly the same colour.
What colour goes best with a grey gradient?
One strong accent: electric blue or lime with cool greys, signal orange, blush or brass with warm greys.
Why does my grey gradient have stripes?
Smooth grey blends show every colour step, especially after compression. Add a light noise layer and export as PNG.
Written by Gradiently
The team behind Gradiently, a design tool built around Marks: living gradients that make everything you design look like yours.
See our profile