Market
Pricing
Sign inStart
Field GuideIdeas and trends
Ideas and trends

Glow effects in design: soft light without halos round text

A glow should look like light falling on a surface: a bright core, a long fade, a dark room around it. Put it behind shapes and into backgrounds, and keep it away from the edges of your letters.

GradientlyVerified Gradiently account·October 1, 2026·6 min read
Cover: Emerald Tapestry · GR·DQNM·SK

The short version

  • A glow effect is a bright core of colour that fades gradually into a darker surrounding, so it reads as light rather than paint.
  • Glows work best on shapes, buttons, product photos and backgrounds, where they add depth and direct the eye.
  • A halo of glow around text blurs the edges of the letters and makes them harder to read, so keep words crisp and put the light elsewhere.
  • In CSS, a soft glow is usually a radial gradient fading to transparent or a box shadow with a large blur and no offset.
  • A glow needs a dark or muted ground to show, and a little grain stops its long fade from banding.
On this page
Where a glow belongs, and where it does notGlow effect backgrounds with codesHow to make a glow that looks like real lightGlow effect in CSSGlow in posts, posters and storiesGlow, neon and light leaks compared

A glow effect is a patch of light: a bright core of colour that fades slowly into a darker surrounding, as if a lamp sat just behind the surface. Used well, it adds depth to a flat design and pulls the eye to a product, a button or a shape. Used badly, it becomes a fuzzy ring around the headline. The rule this whole page follows is simple: put the glow on shapes and backgrounds, and keep words sharp.

Where a glow belongs, and where it does not

Light around an object says that object matters. Light around letters does something different: it softens their edges, lowers the contrast between stroke and background, and makes the line look out of focus on small screens. That is why the glow should sit near the words, never wrapped around them. If type needs help to read, fix the area behind it instead; text shadow alternatives covers the cleaner options.

Avoid

  • A blurred halo hugging the headline
  • Glow in the same colour as the type
  • Several glows of equal strength competing
  • A bright glow on a bright background
  • Glow added to every button, card and icon

Do

  • Light behind a product, shape or photo
  • A glow off to one side, words over the calm area
  • One main light and at most one weaker echo
  • A dark or muted ground so the light has room
  • Glow reserved for the one thing that matters

Glow effect backgrounds with codes

The easiest glowing background is a radial gradient that starts bright, drops quickly through a richer middle tone and fades into a near black ground. Moving the centre off the middle makes it feel like a light source rather than a target.

Five dark glows and one light one. The light version works because the glow is warmer and brighter than an already pale ground, not because it is stronger.

Each of these has three parts: a core that is close to white or very pale, a saturated middle stop, and a deep ground in the same family. Skip the middle stop and the glow looks grey where it meets the dark, the problem described in muddy gradients. For more on the shape itself, see radial gradients.

How to make a glow that looks like real light

  1. 1

    Start with a dark or muted ground

    Light needs darkness to show. A blue black, a deep green or a dusty paper tone all work; a bright white ground leaves the glow nowhere to go.

  2. 2

    Give the core a lighter, warmer tint

    Real light is brightest and least saturated at its centre. Make the core a pale version of the glow colour, such as #fde68a for an orange glow.

  3. 3

    Let it fall off slowly

    The fade should run across a large area, often half the frame. A short fade looks like a spotlight cut out with scissors.

  4. 4

    Decide where the light comes from

    Place the core near an edge or corner, or behind the object it lights. Then keep the rest of the design consistent with that direction.

  5. 5

    Add fine grain

    Long dark fades are where banding shows most. A light noise layer hides the steps; grainy gradients has the method.

One more test: switch the glow off and look again. If the design still works, the glow is adding atmosphere. If it falls apart, the glow is doing a job that layout or contrast should be doing.

Glow effect in CSS

There are three reliable ways to make a glow on the web. A box-shadow with zero offset and a large blur lights the edges of a card or button. A radial gradient on a pseudo element puts a soft pool of light behind an object. And filter: blur() on a coloured shape gives the softest result, at a higher rendering cost. The MDN box-shadow reference lists every value.

css
/* 1. A button that glows at its edges */
.button-glow {
  background: #7c3aed;
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgb(196 181 253 / 0.4),
    0 0 24px rgb(124 58 237 / 0.55),
    0 0 64px rgb(124 58 237 / 0.25);
}

/* 2. A pool of light behind a product image */
.product {
  position: relative;
  isolation: isolate;
}
.product::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 50% 55%, rgb(253 230 138 / 0.9), rgb(249 115 22 / 0.35) 35%, transparent 70%);
}

/* 3. A blurred orb in a hero background */
.orb {
  position: absolute;
  width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0891b2;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
}
Three glows, none of them on text. Stacking two or three box shadows of falling strength gives a softer edge than one large shadow.
box-shadow

Best for

Buttons, cards, inputs

Cost

Low

Watch out for

Clipped by overflow: hidden on a parent
radial-gradient layer

Best for

Light behind images and sections

Cost

Low

Watch out for

Banding on long dark fades
filter: blur() shape

Best for

Hero backgrounds, ambient orbs

Cost

Higher, especially when animated

Watch out for

Repaint cost on scroll; keep it still or small
MethodBest forCostWatch out for
box-shadowButtons, cards, inputsLowClipped by overflow: hidden on a parent
radial-gradient layerLight behind images and sectionsLowBanding on long dark fades
filter: blur() shapeHero backgrounds, ambient orbsHigher, especially when animatedRepaint cost on scroll; keep it still or small
Pick the cheapest method that gives the look. Most glows on a page should be gradients or shadows, not blurred elements.

On buttons, keep the glow subtle and the label crisp: the light belongs to the button's shape, not to its words. The full shadow syntax is in CSS box shadow.

Glow in posts, posters and stories

In a still design, a glow does its best work behind the subject or in the empty half of the frame. Put the light where the eye should land first, then set the headline over the darker, calmer part of the ground. The light leads the reader to the words without touching them.

The glasshouse
Late opening, Thursday
Lanterns lit from 7pm
Gradiently · @gradiently

Light running straight through the headline: the brightest area lands on the letters and flattens them.

The glasshouse
Late opening, Thursday
Lanterns lit from 7pm
Gradiently · @gradiently

The same story with the light kept clear of the words. The glow still sets the mood, and the type stays sharp.

This is exactly what a Gradiently Mark does on its own. Its calmest region settles behind the words, colours near the letters deepen or lift, and Auto ink picks light or dark type per line from the Mark's palette, so there are no boxes, shadows or halos to add. You can see the idea in Auto ink.

A glow palette in four layers: ground, falloff, light and core, plus one warm accent and a type colour that never takes on the glow.

Glow, neon and light leaks compared

These three get mixed up. A glow is soft, broad light from one source. Neon gradients are saturated, electric colour with a thin bright line at their heart, closer to signage. Light leaks are warm streaks that imitate film, usually entering from an edge. All three need a dark ground, and all three stay off the type. If you want the light to drift and shift, aurora gradients are a moving relative.

Design with a living gradient

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

Start designing, free

Questions people ask

How do I make a glow effect in CSS?

Use a box-shadow with no offset and a large blur, such as 0 0 24px in a semi transparent colour, or a radial gradient that fades to transparent behind the element. For the softest glow, blur a coloured shape with filter: blur().

Should I put a glow around text?

No. A halo softens the letter edges and lowers contrast, so the words get harder to read. Keep text crisp and place the glow behind a shape or in the background nearby.

What background makes a glow stand out?

A dark or muted ground in the same colour family as the glow, such as a deep indigo behind a violet light. On a bright white background a glow has nowhere to go.

Why does my glowing gradient have bands?

Long, dark fades have few colour steps to work with, so screens show visible bands. Add a fine grain layer or export at higher quality to hide them.

What is the difference between a glow and a neon effect?

A glow is broad, soft light from one source. Neon is saturated colour with a thin, intensely bright line at its centre, like a sign tube.

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

Where a glow belongs, and where it does notGlow effect backgrounds with codesHow to make a glow that looks like real lightGlow effect in CSSGlow in posts, posters and storiesGlow, neon and light leaks compared

Share this guide

Next in Ideas and trends

Gradient trends 2026: six directions worth using

Keep reading

All Ideas and trends guides
Gradients

Neon gradients: glow without the eye strain

5 min read

Neon is colour turned all the way up. On a dark ground it glows; spread across a whole screen it buzzes. Here is how to keep the glow and lose the buzz.

Gradients

Radial gradients: the spotlight that guides the eye

5 min read

A radial gradient is the closest thing in design to pointing a light at something. Here is how to aim it, size it and keep it from looking like a target.

CSS and web

CSS box shadow: soft, layered shadows that look real

5 min read

A single grey box-shadow is the quickest way to make an interface look like a template. Real shadows are several shadows at once, tinted, and quieter than you think.

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