Market
Pricing
Sign inStart
Field GuideColour
Colour

Fire gradient: flame codes from ember to blaze

Flames have a fixed order of colour, and a fire gradient only looks hot when it follows it. Here is that order, codes for every kind of fire, and a flicker you can animate in a few lines.

GradientlyVerified Gradiently account·October 1, 2026·5 min read
Cover: Gilded Vineyard · GR·ESZ0·XA

The short version

  • A fire gradient follows the order of a real flame: pale yellow near the base, then orange, then red at the tips, fading into dark smoke.
  • The hottest parts of a fire look the palest, so the brightest stop belongs at the source of the heat, not at the edge.
  • In CSS, linear-gradient(0deg, …) starts at the bottom, which is where a flame starts.
  • Embers and coals suit radial gradients that glow from a hot centre into near black.
  • Dark type reads on the yellow part of a fire gradient, and white or cream type reads on the red and dark parts.
On this page
Read a flame from the bottom upFlame gradient codes: campfire to blazeEmber, coal and lava gradientsWhy some fire gradients look wrongAn animated fire gradient in CSSWords and offers on a fire gradient

A fire gradient runs from pale yellow, almost white, at the base of the flame, through bright orange, to deep red at the tips, and then into the dark of smoke or night. Follow that order and the gradient reads as heat straight away. Reverse it, with yellow at the top, and it looks like a sunset instead. Below are the flame zones as colours, copyable codes from smouldering embers to a full blaze, and a gentle CSS flicker.

Read a flame from the bottom up

Glowing material changes colour with temperature: the hotter it is, the paler and whiter it looks, and as it cools it slides through yellow and orange to a dull red. In a wood fire that means the palest light sits low, near the fuel, and the red sits at the flickering tips. A gas flame burns cleanly, with almost no glowing soot, so it shows the blue light of the burning gas itself.

Core of a gas flame

Colour

Blue

Hex

#38bdf8 to #1d4ed8
Base of a wood flame

Colour

Pale yellow, nearly white

Hex

#fff3b0
Lower body

Colour

Golden yellow

Hex

#ffd23f
MiddleOrange

Hex

#ff8c1a
TipsFlame red

Hex

#e8361c
Cooling edge

Colour

Crimson to ember

Hex

#b3001b to #7f1d1d
Smoke and night

Colour

Char

Hex

#1c0606
ZoneColourHex
Core of a gas flameBlue#38bdf8 to #1d4ed8
Base of a wood flamePale yellow, nearly white#fff3b0
Lower bodyGolden yellow#ffd23f
MiddleOrange#ff8c1a
TipsFlame red#e8361c
Cooling edgeCrimson to ember#b3001b to #7f1d1d
Smoke and nightChar#1c0606
A flame as a list of stops. Most fire gradients use four or five of these, in this order.
The fire palette from hottest to coolest. Notice there is no brown: going from red to dark through deep crimson keeps it glowing.

Flame gradient codes: campfire to blaze

These are vertical, starting at the bottom. In CSS, 0deg points up, so the first stop is the base of the flame. A campfire keeps a soft gold base and a long red fade; a blaze is shorter, louder and more saturated; white heat is what the inside of a furnace looks like.

Four flames. The blue one breaks the warm rule on purpose: a clean gas flame usually burns hotter than a yellow one, and it suits tech and science far better than orange does.

Ember, coal and lava gradients

Not every fire design needs flames. Embers and coals are fire at rest: mostly dark, with a hot core glowing through. They feel moody and premium, and they leave more calm space for words than a full blaze. Lava sits between the two, a dark crust split by a bright seam. These work best as radial gradients, which glow outwards the way heat does.

Fire at rest. The embers gradient glows up from the bottom edge, which makes a perfect stage for a product or a headline above it.

If you want warmth without the drama, the separate red gradient, orange gradient and yellow gradient collections each take one part of the flame and go further with it.

Why some fire gradients look wrong

Fire is one of the few gradients people judge instantly, because everyone has stared at a real one. Three mistakes give it away: the order is wrong, the dark end turns brown, or the yellow is so greenish that it reads as acid rather than heat. Muddy gradients explains why red fading into black can turn brown, and how a crimson stop prevents it.

Looks fake

  • Yellow at the top, red at the bottom
  • Red fading straight into a brownish black
  • A cool, lemon yellow with a green cast
  • Even colour from edge to edge, no hot spot
  • Flame colours on a white background

Looks hot

  • Palest colour at the source, red at the tips
  • Red into crimson, then into char
  • A warm golden yellow such as #ffd23f
  • One bright core that everything fades from
  • Fire glowing out of darkness

An animated fire gradient in CSS

A slow upward drift sells the idea of flame better than any fast flicker. Make the gradient twice as tall as the element, then move it gently up and down. Respect visitors who have asked for less motion, as described in reduced motion.

css
.fire {
  background: linear-gradient(0deg, #fff3b0 0%, #ffd23f 15%, #ff8c1a 35%, #e8361c 55%, #5c0d0d 80%, #1c0606 100%);
  background-size: 100% 200%;
  animation: flicker 6s ease-in-out infinite alternate;
}

@keyframes flicker {
  from { background-position: 50% 100%; }
  to   { background-position: 50% 70%; }
}

@media (prefers-reduced-motion: reduce) {
  .fire { animation: none; }
}
The flame rises and settles every six seconds. Animating background-position is cheap; for heavier effects, see the performance notes in the animated gradient guide.

More loops and their trade offs are in CSS animated gradient.

Words and offers on a fire gradient

Fire says urgency, energy and heat, so it naturally carries flash sales, spicy menus, workout challenges and anything with a deadline. Type colour depends on where the words land: a deep charcoal or ember brown reads on the golden base, and white or warm cream reads on the red and dark parts. Avoid putting words across the orange middle, where neither works especially well.

Winter clearance
Last 48 hours.
Everything in store, while it lasts
Gradiently · @gradiently

A portrait sale post. The urgent line sits on the dark, ember end; the warmest light stays clear of the words.

For more on layouts that sell, see sale post design. If you would rather not lay it out by hand, Gradiently's Designer can take a one line brief like "winter clearance ends Sunday", ask what it needs, write the words and set the post in your Mark, then make the story and square versions too.

Ask the Designer

Describe what you need and Gradiently’s AI makes it, on your Mark.

Try the Designer

Questions people ask

What colours are in a fire gradient?

Pale yellow (#fff3b0), golden yellow (#ffd23f), orange (#ff8c1a), flame red (#e8361c) and a deep crimson or char to finish. Use them in that order from the base of the flame.

Which way should a flame gradient go?

From the bottom up, with the palest colour at the base. In CSS, linear-gradient(0deg, …) lists the bottom stop first.

How do I stop a fire gradient turning brown?

Go from red into a deep crimson such as #b3001b before reaching near black, rather than straight from red to black.

What is a blue flame gradient used for?

A blue gas flame usually burns hotter than a yellow wood flame, so it suits tech, science, energy and anything that wants to feel intense but cool. Run it from near white at the base through sky blue to deep navy.

Can I animate a fire gradient without JavaScript?

Yes. Make the background twice as tall with background-size: 100% 200% and animate background-position slowly, and switch it off for prefers-reduced-motion.

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

Read a flame from the bottom upFlame gradient codes: campfire to blazeEmber, coal and lava gradientsWhy some fire gradients look wrongAn animated fire gradient in CSSWords and offers on a fire gradient

Share this guide

Next in Colour

Forest green gradient: deep natural codes

Keep reading

All Colour guides
Colour

Red gradients: energy without the alarm

5 min read

Red gets attention faster than any other colour, which is exactly why it goes wrong. How to build red gradients that feel alive, warm and confident instead of loud.

Colour

Orange gradient: 25 warm codes from peach to burnt

5 min read

Orange is one of the warmest colours you can put on a screen, and one of the easiest to get wrong. Here are 25 copyable blends grouped by mood, plus the pairings and type rules that make them work.

CSS and web

CSS animated gradient backgrounds, done properly

4 min read

Gradients cannot be animated directly, but everything around them can. Four techniques, what each costs the browser, and how to keep motion calm and optional.

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