Market
Pricing
Sign inStart
Field GuideColour
Colour

White gradient: subtle light codes for clean designs

A white gradient is the quietest gradient there is, and the one most designers get slightly wrong. These codes show how much change is enough, which tints to use, and how to fade cleanly to white.

GradientlyVerified Gradiently account·October 1, 2026·5 min read
Cover: Tangier Mirror · GR·5FA7·4J

The short version

  • A white gradient blends pure white into an off white only a few percent darker, tinted warm, cool or pearly.
  • Off whites with a slight warm tint feel like paper; those with a slight blue tint feel like porcelain or snow.
  • A white gradient needs enough range to survive bright phone screens, where very small differences disappear.
  • To fade content into a white background in CSS, use a gradient from rgb(255 255 255 / 0) to #ffffff.
  • White gradients make excellent product backgrounds because a soft falloff reads as a lit studio rather than a flat cut out.
On this page
How much change a white gradient needsOff white colours to build fromWhite gradient codesA white gradient behind productsFade to white with a CSS gradientClean white, not washed outWhite gradients in minimal designs

A white gradient moves from pure white into an off white that is only slightly darker, usually with a gentle warm, cool or pearly tint. The change is small on purpose: it should feel like light falling across a surface, not like colour. That makes white gradients ideal for clean websites, product shots, invitations and minimal social posts. Below you will find how strong to make one, a palette of off whites, copyable codes and the right way to fade into white in CSS.

How much change a white gradient needs

Too little and nobody sees it, especially on a phone at full brightness. Too much and the white turns grey and dingy. The table gives three strengths, measured by how far the end colour sits below pure white. Most designs want the middle one.

Whisper#ffffff

To

#f8f8f8

Use for

Large web sections, long reading
Soft#ffffff

To

#efefef

Use for

Cards, social posts, invitations
Visible#ffffff

To

#e2e2e2

Use for

Product backgrounds, studio sweeps
StrengthFromToUse for
Whisper#ffffff#f8f8f8Large web sections, long reading
Soft#ffffff#efefefCards, social posts, invitations
Visible#ffffff#e2e2e2Product backgrounds, studio sweeps
Neutral values for clarity. In practice, tint the end colour slightly warm or cool, as in the codes below.

Off white colours to build from

Pure neutral greys at the end of a white gradient look a little lifeless. A trace of tint makes the difference: warm off whites read as paper, linen and ivory; cool ones read as porcelain, frost and snow. Choose the tint that matches the rest of your palette, and keep it consistent across a set of designs.

Off whites. On a white page they look almost identical; side by side, the warm and cool families are clearly different.

White gradient codes

Each of these starts at or near pure white. Paper and ivory are warm and editorial. Porcelain and frost are cool and technical. Morning light adds a soft glow from one corner, and pearl blends several barely there tints for a delicate iridescence that never tips into a rainbow.

Six white gradients. On a bright screen they read as surfaces rather than colours, which is exactly the point.

If you want a little more colour while keeping the same airy feel, pastel gradients are the next step up. For the opposite end of the neutral scale, see the gray gradient codes.

A white gradient behind products

Photographers light a white backdrop so it falls off softly towards the edges, which separates the object from the background without a shadow line. A radial white gradient does the same on screen. It is especially useful when you cut a product out of its photo: a flat white behind it looks pasted on, while a soft sweep looks like a studio.

Studio sweepradial-gradient(ellipse at 50% 35%, #ffffff 0%, #f3f3f3 55%, #e2e2e2 100%)
Brightest just above the centre, where the product sits, falling to a light grey at the corners. Use it at 2048×2048 for Shopify product images.

Product photo backgrounds covers shadows, colour backdrops and when white is the wrong choice.

Fade to white with a CSS gradient

The most common white gradient on the web is not a background at all: it is a fade that softens the end of a truncated article, the bottom of a scrolling list or the edge of a photo. Write the transparent end as white with zero opacity. Modern browsers blend transparent correctly, but rgb(255 255 255 / 0) states exactly what you mean and avoids the greyish band some older engines drew.

css
/* soften the end of a clipped block of text */
.excerpt {
  position: relative;
  max-height: 12rem;
  overflow: hidden;
}

.excerpt::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0) 0%, #ffffff 90%);
  pointer-events: none;
}
A fade that ends in solid white just before the bottom edge, so the last line of text disappears cleanly. Match the final colour to your page background.

If your page background is an off white rather than pure white, fade to that colour instead, or the fade will end in a visible lighter strip. CSS gradient transparent goes into fades and overlays in more depth.

Clean white, not washed out

Washed out

  • Ending in a neutral mid grey
  • Changes so small they vanish on a phone
  • Light grey type on an off white gradient
  • Warm and cool off whites mixed together
  • Fading to white on a cream page

Clean

  • Ending in a lightly tinted off white
  • A soft but visible change, checked on a phone
  • Near black or deep navy type
  • One tint family throughout
  • Fading to the page’s exact background colour

White gradients also band, though less than dark ones; if you see steps on a large monitor, a very fine grain fixes it, as explained in gradient banding.

White gradients in minimal designs

Minimal designs live or die by their type, and white gives it nowhere to hide. Use a strong, near black ink, plenty of space and one detail in colour. A white gradient adds just enough dimension to make the page feel lit and finished. Minimalist backgrounds has more ideas in the same spirit, and website hero backgrounds shows how a porcelain or morning light gradient can carry a whole landing page.

You’re invited.
Saturday 5 June, The Orangery, Kew

A 5×7 inch invitation on a soft ivory Mark. Dark ink, generous margins and nothing else.

In Gradiently, light Marks work the same way as bold ones: the Mark keeps a calm area behind the words and Auto ink chooses a dark type colour from the Mark’s own palette, so a delicate white never ends up with grey text that disappears.

Design with a living gradient

Posts, stories, slides and banners in every size, with text that always reads.

Start designing, free

Questions people ask

What is a good white gradient code?

For a soft paper look, try linear-gradient(180deg, #ffffff 0%, #f6f4f0 100%). For a cool porcelain look, end on #e6ebf0 instead.

How do I make a white to transparent gradient in CSS?

Use linear-gradient(180deg, rgb(255 255 255 / 0), #ffffff). Change the final colour to your page background if it is not pure white.

Why is my white gradient invisible?

The end colour is too close to white. Darken it to around #efefef, tinted slightly warm or cool, and check it on a phone at full brightness.

What text colour works on a white gradient?

Near black, charcoal or deep navy. Avoid light grey type, which fades into the darker end of the gradient.

Share this guide

Written by GradientlyVerified Gradiently account

The team behind Gradiently, a design tool built around Marks: living gradients that make everything you design look like yours.

See our profile

On this page

How much change a white gradient needsOff white colours to build fromWhite gradient codesA white gradient behind productsFade to white with a CSS gradientClean white, not washed outWhite gradients in minimal designs

Share this guide

Next in Colour

Magenta gradient: electric codes between pink and purple

Keep reading

All Colour guides
Backgrounds

Minimalist backgrounds with just enough going on

5 min read

Flat colour can look unfinished; busy colour can look desperate. The best minimalist backgrounds sit just between: one hue, a whisper of light, a little texture, and room for everything else.

Gradients

Pastel gradients that stay fresh, not sugary

5 min read

Pastels are the easiest gradients to like and the easiest to overdo. A few rules keep them feeling like spring light on paper rather than a birthday cake.

Backgrounds

Product photo backgrounds that flatter the product

4 min read

A product photo background has one job: make the thing in front of it look its best. Colour, lightness, shadow and consistency do most of that work, and none of them need a studio.

Find the look that’s only yours.

Every Mark is a living background with one owner. Try an unclaimed Mark, and claim yours when it feels right.

Start designing

Check a certificate

Type a certificate number or a Mark’s code to see who owns it.

Works with ChatGPT and Claude

Ask your AI for a design. It makes it in your Mark, ready to edit.

ChatGPTClaude
How to connect

Product

  • Market
  • Explore
  • Pricing
  • Certificates

Learn

  • Field Guide
  • Help centre
  • What’s new

Developers

  • Overview
  • ChatGPT and Claude
  • API reference
  • API keys

Company

  • About
  • Contact us
  • Sign in

Legal

  • Terms
  • Privacy
  • Refunds
  • Mark protection
  • Cookies
  • All policies
Move through the letters. Each one wears a real Mark.Touch a letter to see its Mark.One name. Ten Marks inside it.
© 2026 Gradiently