How gradients work, every type, and how to make ones that look expensive.
827 guides · 12 topics
6 min read
A gradient is the simplest idea in colour and one of the easiest to get wrong. Here is what it is, how it is built, and why it came back to screens everywhere.
5 min read
Every gradient moves colour along a path. Change the path and you change the feeling. Here is each type, what it looks like, the code for it and the job it does best.
5 min read
Mesh gradients are the soft, drifting colour fields behind half the launch pages you have seen this year. Here is how they work, how to build one by hand, and the two mistakes that ruin most of them.
5 min read
Most gradient backgrounds look alike because they start from the same few presets. Here is a five-step method for making one that looks considered, with codes you can copy.
5 min read
A clean gradient looks like a screen default. The same gradient with a fine layer of grain looks like a print, a film still or a painted wall. Here is why, how much to add and how to do it.
5 min read
Aurora gradients borrow the look of the northern lights: luminous veils of colour drifting over darkness. They are beautiful, and they tip into screensaver territory quickly. Here is how to keep them on the right side.
5 min read
You made a smooth gradient and it came back striped. That is banding, and it has a simple cause and a handful of reliable fixes. Here is the arithmetic, then the cures.
5 min read
Blue and yellow should make a lovely gradient. Blend them the default way and you get a grey smudge in the middle. Here is exactly why, and four ways to keep every blend clean.
5 min read
Sixty gradients, sorted by the feeling you want rather than by hue. Every one is a live CSS code you can copy, and each group explains the rule that makes its blends work.
5 min read
Two colours, one direction, nothing to go wrong. Almost. Here are the two rules that decide whether a pair works, and thirty pairs that pass both, ready to copy.
5 min read
Dark gradients can look like a premium night scene or like a muddy screen with the brightness turned down. The difference is a handful of decisions, all of them easy to copy.
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.
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.
5 min read
Holographic foil, soap bubbles and pearl all change colour as you move. A flat screen can't do that, but a well-built gradient can convince the eye it does.
5 min read
Duotone turns any photo into two colours of your choosing: one for the shadows, one for the light. It is the fastest way to make mismatched pictures look like one brand.
5 min read
Flat colour is clear, cheap and exact. Gradients are alive, distinctive and harder to control. Most good brands use both. Here is how to decide which one each surface needs.
5 min read
Two gradients with identical colours can feel like a film still, a letterpress card, a phone screen or an evening dress. The difference is texture, and it says more than the colours do.
5 min read
Frosted glass over a glowing gradient is one of the most attractive effects in interface design, and one of the easiest to make unreadable. Here is how to get the beauty and keep the words.
4 min read
A gradient map takes any picture, photo, texture or illustration, and repaints it in the colours you choose while keeping all of its light and shade. It is the fastest recolouring tool there is.
6 min read
The same two colours can feel calm, uplifting or restless depending only on which way they run. Here is how to choose a direction on purpose, and how to get the angle exactly right in code.
5 min read
Most gradients that look cheap fail in one of nine predictable ways. Here is each mistake, what causes it and the specific change that fixes it.
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.
5 min read
Linear gradients travel, radial gradients spread, and conic gradients turn. That one difference makes them the right tool for wheels, charts, metal and light beams.
6 min read
A gradient that glows on screen can come back from the printer flat, striped or brown. Almost every one of those failures is predictable, and most are fixable before the file leaves your desk.