A gradient can do two quite different jobs. It can sweep color across a header from one corner to the other, or it can pool light in the middle of a panel and let it fade toward the edges. The first job belongs to a linear gradient. The second belongs to a radial one. Picking the wrong kind is why a copied gradient sometimes looks nothing like the effect you pictured.

This guide explains how the two kinds differ, where each one earns its place, and how to get a working linear gradient from the free Gradient Palette Explorer on Ovatly. It is also plain about a limit: the bank holds linear gradients only, so the radial half tells you where radial gradients actually come from.

Contents

  • Quick answer
  • What a linear gradient does
  • What a radial gradient does
  • Side by side: which jobs each kind suits
  • How to copy a linear gradient, step by step
  • Worked example: reading and editing Ember Sky
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Use a linear gradient when color should travel in one direction across a header, button or page band: it blends along a straight axis at an angle you can edit. Use a radial gradient when color should spread outward from a center point, as a glow or spotlight. The Gradient Palette Explorer is a curated bank of linear presets only, each with a one-click CSS copy. If a preset fits, copy it and ship. If your design needs a radial falloff, this bank is the wrong tool: write the CSS by hand or use the CSS Gradient Generator in Website and Webmaster Tools.

What a linear gradient does

A linear gradient blends two or three colors along a straight line. The direction of that line is set by an angle, and the angle is part of the effect: the same two colors look calm running top to bottom and energetic running diagonally. In the explorer's bank, every preset carries its angle inside the copied CSS, so what you paste is complete and ready to use.

Because the blend travels in one direction, linear gradients suit surfaces that are themselves directional: a page header, a short button band, a section divider spanning the page width. A linear gradient follows that grain instead of fighting it, which is why nearly every gradient in production interfaces is linear.

What a radial gradient does

A radial gradient starts at a center point and blends outward in every direction, the way lamplight fades as it leaves the bulb. Stated plainly, this is general CSS knowledge, not something the explorer demonstrates: radial gradients are written as CSS by hand, or built with a generator that supports them. They suit effects a straight axis cannot produce, such as a soft glow behind a product shot or a spotlight on a hero panel.

The honest consequence is simple: there is no radial preset in the bank to copy, compare or screenshot. If your design needs that center-out falloff, the bank cannot help you, and the limitations section below points you to the tools that can.

Side by side: which jobs each kind suits

The two kinds divide most real work cleanly. Headers, buttons, navigation bars, table stripes and full-width page bands are linear territory, because the eye already reads those elements along an axis. Glows, spotlights, circular badges and fade-to-edge backgrounds are radial territory, because the effect depends on a center.

There is a practical test. Sketch the surface and draw the direction the color should travel. If your pencil moves in a straight line, the gradient is linear. If it starts in the middle and pushes outward, it is radial. Most interface work passes the straight-line test, which is why a curated bank of linear presets covers the common cases, and why a radial gradient is usually a deliberate special effect rather than a default.

How to copy a linear gradient, step by step

  1. Open the Gradient Palette Explorer and browse the grid of presets.
  2. Narrow the grid with the category chips, which sort the bank by mood: Warm, Cool, Nature, Vivid and Neutral, or search by mood, gradient name or a hex value.
  3. Click Copy CSS on the gradient you want. The card copies a complete background declaration, angle included.
  4. Paste the declaration into your stylesheet, then check it against your layout. If the blend runs the wrong way, edit the angle in the pasted CSS: 90deg runs left to right, 180deg top to bottom, and 135deg diagonally from top left to bottom right.

Worked example: reading and editing Ember Sky

The Ember Sky card copies this declaration:

background: linear-gradient(135deg, #FF9966, #FF5E62);

Read it in parts. The function is linear-gradient, so this is a straight-axis blend. The angle is 135deg, which runs diagonally from the top left to the bottom right. The two stops are #FF9966, a soft orange, and #FF5E62, a coral red. Applied to a header or a button, the surface starts soft orange at the top left and deepens into coral red at the bottom right.

Now edit the angle on paper. Change 135deg to 180deg and the same colors run top to bottom: orange across the top edge, coral across the bottom. Change it to 90deg and the blend runs left to right. The colors never change; only the direction of travel does. That one editable number is most of what customizing a copied preset involves.

Limitations and honest tradeoffs

The bank is deliberately finite. It is a hand-picked set, not a generator, so the same gradients appear for every visitor, and you cannot feed it your own brand colors. If a gradient has to be built from specific colors, or has to be radial, the explorer is the wrong tool: the CSS Gradient Generator in Website and Webmaster Tools builds gradients from your own stops, and radial effects belong there or in hand-written CSS.

A second limit applies to every gradient. Text placed on one needs its contrast checked against the lightest and darkest stops, not just the middle, because a blend that reads well at one end can swallow text at the other. The preset gives you the background; checking what sits on it remains your job.

Common mistakes

  • Hunting the bank for a radial preset. There is none. Every gradient in the set is linear, so a radial effect has to come from a generator or hand-written CSS.
  • Pasting the CSS and never reading the angle. The angle is part of the preset. If the layout runs the other way, edit the degrees instead of rejecting the colors.
  • Checking text contrast against the middle of the blend. Text sits on the lightest and darkest stops too, and those are where it disappears.
  • Expecting the bank to build from brand colors. It holds ready-made presets only. Custom colors need the CSS Gradient Generator.

FAQs

Does the Gradient Palette Explorer include radial gradients? No. Every gradient in the bank is linear. The bank is a small, fixed, curated set of two and three stop linear gradients organized by mood, and the same gradients appear for every visitor. For a radial gradient, write the CSS by hand or use the CSS Gradient Generator in Website and Webmaster Tools.

What is the difference between a linear and a radial gradient? A linear gradient blends its colors along a straight axis, in one direction set by an angle. A radial gradient blends outward from a center point in all directions, like light fading away from a lamp. The linear kind suits bands and panels; the radial kind suits glows and spotlights.

Can I change the direction of a gradient I copied? Yes. The angle is part of each preset and is included in the copied CSS, so you can edit it after pasting. At 90deg the blend runs left to right, at 180deg it runs top to bottom, and at 135deg it runs diagonally from top left to bottom right.

How do I build a gradient from my own colors? Use the CSS Gradient Generator in Website and Webmaster Tools, which lets you place your own stops on a ramp. The Gradient Palette Explorer is a curated bank of ready-made presets, not a generator, so it cannot build a gradient from colors you supply.

Are the gradients in the bank free to use? Yes. The gradients are simple color combinations published for anyone to copy into their own projects. Click Copy CSS on a card, paste the background declaration into your stylesheet, and adjust the angle if your layout needs a different direction.

Conclusion

Linear and radial gradients are not rivals; they are two shapes of blend for two shapes of job. If the color travels in a straight line, a curated preset from the Gradient Palette Explorer gets you production CSS in one click, angle included. If the color must fall away from a center point, this bank is the wrong shelf: build the radial effect where radial effects live. Once a gradient is in place, the mistakes that date it are a separate discipline, covered in our guide to gradient mistakes that make designs look dated. For more guides in this series, see our Color and Design Tools guides.

References