Gradients in UI Design

Posted 2 months ago by Nick Babich

For a long time, using gradients was the biggest no-no in design. Designers tended to avoid gradients because they created a strong impression of design from the 90s.

Gradient created in WordArt

But that is no longer the case. If you open Dribbble or Behance right now, there is a strong chance you will see dozens of designs that use gradients. The gradients designers use are loud and full of color.

In this article, I want to share some tips on how to use gradients in design.

Why do we actually tend to use gradients in design?

To find the answer to this question, we need to go back to 2014. It was the year when flat design became popular — Google released Material Design and Apple updated their macOS with a flat UI design. Back then the flat design was fresh and exciting, especially in the comparison to skeuomorphic design.

But the flat design has its own limitations, and one of the significant limitations is in the context of colors and styles that designers can use. It’s hard to name more than 10–15 colors that you can use for flat design.

By using gradients designers:

Gradients are a surprisingly versatile tool

Using gradients, designers can:

Make bold statements

Gradients help create something new and unexpected. Even a tiny element such as a logo can be exciting if you apply a gradient to it.

Instagram logo: gradient gives the icon more depth and dimension.

Empathize certain elements

A great user experience intuitively directs users through the product. The well-designed gradient subconsciously leads users toward the focal point.

By making some parts of the page more intense, you put more visual weight on them and make them more noticeable.

Take a look at Mixpanel homepage. Illustration plays a vital role in this layout, and gradient background visually prioritizes it.

Gradients are perfect when you need to draw people’s attention to a certain area. Mixpanel uses gradients to highlight illustration

Six Tips for creating an impressive gradient

1. Learn basic types of gradients

There are several types of gradients. All involve a central starting point where the color starts and progressively blends into other colors. For this article, I want to cover three common types of gradients:


A linear gradient creates a band of colors that progress in a straight line. The gradient transitions smoothly from one color to the next.

Linear gradient. To create a linear gradient, you need to specify two colors (or two tints of the one color).


Radial gradients are similar to linear gradients, except that they radiate out from a central point. As a designer, you can dictate where that central point should be and specify the size of the gradient.

Radial gradient

The Instagram logo that you saw above was created using a Radial gradient.


A conic gradient is similar to a radial gradient — both are circular and use the center of the element as the source point for color stops. However, for a radial gradient, the color stops emerge from the center of the circle, while a conic gradient places color stops around the circle.

Creating a conic gradient in Adobe Illustrator. Image: stackexchange

2. Don’t choose color randomly!

Not all colors work well with each other. For example, by pairing complementary colors, you probably get that bad-looking color transition.

The red-to-green gradient in the following example looks dirty:

Try to avoid using complementary colors when creating a gradient

It’s better to use either analogous colors (colors that are next to each other on the color wheel):

or shades of the same color (i.e. shades of the blue)

Using shades of blue for a gradient

3. Create smooth transitions

The transition between colors should be really smooth. Ideally, the user shouldn’t notice the place where one color flows to another.

Take a look at the following example. You can notice a line that separates two colors. This line creates the impression of an abrupt transition.

Don’t: Create an abrupt transition

“User’s eyes should relax as they scan the page.”

To create a smooth transition, you need to spend more time playing with color stops.

Do: Create a smooth transition

4. Convey emotion or mood

Color evokes emotional responses. We can use this color property to connect with the audience on a deeper level.

“Think about what you want your users to feel when they interact with your product.”

For example, if you want to create a highly energetic atmosphere, you can use the red-to-orange gradient.

Bright, bold colors stir positive feelings

But if you want to create a relaxing atmosphere, you probably want to use dark blue-to-blue gradient.

Deep tones bring calm

5. Don’t forget about color contrast

No matter how beautiful your design is, you shouldn’t forget about accessibility. Always check the color-contrast ratio.

Don’t: Lack of color contrast leads to bad readability.

WCAG 2 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, and a contrast ratio of at least 3:1 for graphics and user interface components

6. Use special tools

It’s easy to create gradients using Adobe Illustrator. But there are also a lot of special tools for creating gradients:

Colors | UXPRO
A collection of new tools that will help you choose the right color for your next project!

I’m a software developer, tech enthusiast and UI/UX lover.

Related Posts

As a designer, the things you choose NOT to include in your designs is also design — after all, our work is about all prioritization and reduction. Similarly, as a leader, the feedback you choose NOT to give is an extremely important part of your design feedback. Lately, I’ve been paying a lot of attention to a different aspect of… Read More →

Mechanical keyboard — considered one of the best types of keyboards due to its tactile feedback. Ever watch people entering an elevator and repeatedly push the Up button? Or repeatedly push the pedestrian button at a street crossing? Or hit a refresh button many times because the loading bar keeps spinning and nothing happens? What is missing in all these… Read More →

I lead a creative team of two at a company that has grown from three co-founders to over 150 employees. We’ve acquired a company, expanded to multiple offices, and launched the world’s first end-to-end account-based marketing platform. I guess you could say we’ve grown up. But one thing that hadn’t changed over the past five years — until recently — was the Terminus brand… Read More →