Market
Pricing
Sign inStart
Field GuideGradients
Gradients

Subtle gradients: quiet colour shifts for clean interfaces

The best interface gradients are the ones nobody notices until they are gone. These are codes you can paste today, the places they earn their keep, and the one technical trap that catches everyone.

GradientlyVerified Gradiently account·October 1, 2026·5 min read
Cover: Summer Mineral · GR·KFFG·YD

The short version

  • A subtle gradient changes lightness by only a few percent, or moves the hue by a small step, so a surface looks lit rather than flat.
  • Subtle gradients work best on page backgrounds, cards, hero sections and dark mode surfaces, where they add depth without competing with content.
  • Blending in oklch keeps a subtle gradient's lightness change even from one end to the other.
  • Subtle gradients band more than bold ones because there are fewer colour steps between two close tones, and a little noise is the usual fix.
  • On a dark interface, a slightly lighter top edge reads as light falling on the surface.
On this page
Light subtle gradient codesDark subtle gradient codesWhere subtle gradients work in an interfaceHow to tint a subtle gradient with your brand colourWriting a subtle gradient in CSSWhy subtle gradients band, and the fix

A subtle gradient moves between two colours so close together that you feel the change more than see it: white to a cool off white, near black to a slightly softer near black. That small shift makes a surface look lit, which is why clean interfaces use them on page backgrounds, cards and dark mode panels. The codes below keep the difference in lightness to a few percent; any larger and the gradient starts to become a feature rather than a surface.

Light subtle gradient codes

Each of these starts close to white and drifts towards a faint tint. Pick the tint from your brand colour so even the background carries a trace of identity. Top to bottom blends feel most natural, because light usually comes from above.

Six light subtle gradients. On a bright monitor they read as gently lit paper; on a phone in daylight, almost as white.

Dark subtle gradient codes

Dark surfaces benefit even more, because pure flat black looks like a hole in the screen. Lift the top a touch and let the bottom settle. Dark mode gradients covers whole themes; these are the building blocks.

Six dark subtle gradients. The top glow suits a hero or a modal: a faint pool of light from above.

Where subtle gradients work in an interface

Page background

How subtle

Barely visible across the full height

Example

#ffffff to #f6f7f9
CardA touch lighter at the top edge

Example

#ffffff to #fafafa
Hero section

How subtle

A faint tint pooling behind the headline

Example

Corner light or top glow
ButtonLighter top, slightly deeper bottom

Example

#4f46e5 to #4338ca
Dark mode panel

How subtle

Top lifted, bottom settled

Example

#18181b to #0f0f12
Sidebar or footer

How subtle

A step darker than the page, still graded

Example

#f8fafc to #eef2f7
SurfaceHow subtleExample
Page backgroundBarely visible across the full height#ffffff to #f6f7f9
CardA touch lighter at the top edge#ffffff to #fafafa
Hero sectionA faint tint pooling behind the headlineCorner light or top glow
ButtonLighter top, slightly deeper bottom#4f46e5 to #4338ca
Dark mode panelTop lifted, bottom settled#18181b to #0f0f12
Sidebar or footerA step darker than the page, still graded#f8fafc to #eef2f7
Subtle gradients by surface. Use one direction across the whole interface so the light seems to come from one place.

The rule of thumb: a subtle gradient should never be the thing you look at. If a reviewer comments on the gradient, it is too strong for a background. For more restrained looks across print and social as well as screens, see minimalist backgrounds.

Quiet is a choice.
Calm backgrounds let the words lead

A calm background and one short line. When the colour stays quiet, the type does the work.

How to tint a subtle gradient with your brand colour

A neutral grey gradient is safe but anonymous. Tinting the lighter or darker end with a trace of your brand hue makes the whole interface feel related to the logo without anyone being able to point at why. The trick is to keep the hue and throw away almost all the saturation.

  1. 1

    Take the brand hue

    Convert your main brand colour to oklch or HSL and note only its hue: around 265 for a violet, 160 for a green, 30 for a warm orange.

  2. 2

    Keep it almost grey

    Set chroma very low, around 0.005 to 0.015 in oklch, or saturation under about 30% in HSL at very high lightness. You want a whisper of colour, not a pastel.

  3. 3

    Set two lightness values

    For light themes, try 99% and 96%; for dark themes, around 20% and 15%. Keep both ends on the same hue so the blend never drifts towards grey or a second colour.

  4. 4

    Check it next to pure white or black

    Place the gradient beside a plain white or black block. If you can't see the difference at all, nudge the lower end; if the tint is obvious from across the room, lower the chroma.

The same tint can then carry into borders, dividers and hover states, so the gradient is one part of a quiet system rather than a lone effect. Buttons are the one place to allow a slightly stronger shift, a few percent darker at the bottom, because a hint of volume helps them look pressable.

Writing a subtle gradient in CSS

Hex codes work everywhere. For finer control, write the colours in oklch, where the first number is perceived lightness, so you can set the shift exactly: from 99% to 96%, say. Blending in oklch also keeps the change even along the whole length. CSS gradient oklch explains the syntax, and CSS linear gradient covers the basics.

css
:root {
  --surface: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

@supports (background: linear-gradient(in oklch, red, blue)) {
  :root {
    /* lightness 99% to 96.5%, the same faint cool tint */
    --surface: linear-gradient(180deg in oklch, oklch(99% 0.003 250) 0%, oklch(96.5% 0.006 250) 100%);
  }
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--surface);
  background-attachment: fixed;
}
A hex fallback, then an oklch version with a precise lightness shift for browsers that support colour interpolation in gradients.

Fixed or scrolling

background-attachment: fixed keeps the gradient tied to the window, so a long page doesn't stretch it into an invisible shift. Test it on mobile, where some browsers treat fixed backgrounds differently.

Why subtle gradients band, and the fix

Two close colours have very few steps between them in an 8 bit image. Stretch them across a 1920 pixel hero and each step becomes a visible stripe, especially on dark gradients and cheaper screens. The full explanation is in gradient banding.

Shows bands

  • Two dark, very close colours across a full screen
  • A gradient saved as a compressed JPEG
  • A clean blend with nothing to break up the steps

Stays smooth

  • A slightly larger shift, or a third stop
  • Rendered in CSS, or exported as PNG
  • A faint noise layer over the gradient

On the web, a tiny SVG noise texture laid over the gradient at a low opacity removes visible steps without anyone noticing the grain; CSS noise texture has the code. For social posts and slides, a Gradiently Mark carries its own grain and renders at every size, so a quiet background stays smooth whether it is a story or a banner. When you want the opposite of quiet, vibrant gradients has the saturated codes.

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 subtle gradient?

A gradient between two very close colours, usually differing in lightness by only a few percent, so the surface looks gently lit rather than visibly coloured.

What is a good subtle gradient for a white background?

Try linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%), which drifts from white to a faint cool grey.

Why does my subtle gradient look stripy?

Close colours have few steps between them, so they band. Add a third stop, widen the shift slightly or lay a faint noise texture on top.

Should subtle gradients go top to bottom?

Usually. Light tends to come from above, so a slightly lighter top reads as natural on both light and dark surfaces.

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

Light subtle gradient codesDark subtle gradient codesWhere subtle gradients work in an interfaceHow to tint a subtle gradient with your brand colourWriting a subtle gradient in CSSWhy subtle gradients band, and the fix

Share this guide

Next in Gradients

Vibrant gradients: saturated codes that don't vibrate

Keep reading

All Gradients 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.

CSS and web

Gradients in dark mode: keeping depth without glare

5 min read

A gradient that glows politely on white can blaze on a dark screen. Here is how to retune gradients for dark mode so they keep their depth, with CSS for prefers-color-scheme, light-dark() and a manual toggle.

CSS and web

CSS gradient OKLCH interpolation for smoother blends

5 min read

Most dull, grey-middled gradients are not a colour problem but a maths problem. Two words, in oklch, change where the browser does the maths.

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