The Fractal Adaptive Volatility Bands.

The great Bollinger Bands are one of the first things we must learn when analyzing time series. This is because of their sound statistical reasoning, their wide adoption across market participants…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to create the best UI color palette

Complete guide to creating a uniform color palette.

Creating a great color palette can be a daunting task. The choices you make will impact not only users but also your colleagues. Here is our guide for creating the best UI color palette. We will guide you through every step — from finding colors, and creating shades, to naming conventions. Let’s jump in!

Before we get deep into creating color palettes, we have to define a great palette. Every color palette has two main goals — to look good and be easy to use.

If your palette is hard to use, your hard work creating the best color palette will be wasted.

Every color palette starts with base colors. The amount you will need is specific to your project. For example, a product with lots of charts will need more base colors than a simple app. Base colors can be split into three main categories:

Most products have one, maybe two brand colors. They are used for primary actions and drawing users’ attention. Brand colors are the first thing to decide on as they affect the rest of your palette.

Primary colors in use

Semantic colors help us convey meaning to users. For example, red is seen as dangerous while green has a positive connotation. Typically you will need:

Primary colors in use

Most elements in your interface will use neutral colors (text, lines, backgrounds, etc.). Sometimes it’s recommended to avoid using pure black on white as the contrast can be tiring to the eyes. But be careful not to go too light to keep high legibility.

Neutral colors in use

Like with all creative things, there is no single process to follow when looking for base colors. Here are a few methods that can help you:

Main color families and their meanings
Main color families and their meanings

To find great color schemes we can use the color wheel. The color wheel shows relationships between colors (schemes). The main ones are:

Using this method we can find semantic colors that are harmonious with the primary color.

Process of finding semantic colors from primary using the color wheel
Process of finding semantic colors from primary using the color wheel

This process will usually produce great status colors. Don’t hesitate to tweak the results to your liking.

After you have your base colors, it is time to start creating shades from them. Shades are necessary to have a flexible palette for all possible use cases and contrast needs.

A color palette with multiple shades created from base colors

Most palettes have around 6–10 shades per color and around 10 shades for the Neutrals (grays).

It may be tempting to create as many shades as possible “Just to be safe”. But this will leave you with decision paralysis when designing. Rigorously trim down the number of shades until you end up with a flexible yet compact palette. Remember that you can always add more if necessary.

To determine the darkest and lightest shades, consider how you will use them in the interface. Dark shades are used for text while light shades are mostly for tinted backgrounds. It’s best to test your shades on an example UI (a few fields, buttons, and boxes should do the trick).

Generally, a lightness range of 95 to 30 seems to be the sweet spot. Any lighter and the colors are barely distinguishable. On the other hand, darker colors lose saturation rapidly.

One way to make your shades feel just right is to shift the hue values. This method slightly changes the hue value as you move from light to dark shades. Leaving you with vibrant colors.

For example, yellow is a good candidate for this. As you decrease lightness, the nice yellow becomes muddy. To avoid that, you can slowly decrease its hue value towards orange and red. The result will be nicer dark yellowish-orange shades.

Yellow with the same hue compared to hue shifted yellow
Yellow with the same hue compared to hue shifted yellow

Some colors benefit from this method more than others. Experiment, try wild shifts and you may find the perfect shade for you.

It’s good to wait with choosing saturation until you have the lightness and hue values set. When choosing the saturation, there are two things to keep in mind:

Pure grayscale doesn’t exist in nature and may seem unnatural. It is a common practice to use the primary color’s hue with low saturation. This results in tinted grays that work nicely with the rest of your palette.

Pure grayscale compared to tinted grays
Pure grayscale compared to tinted grays

Not everyone perceives color the same way. According to WHO estimates, 2.2 billion people have some kind of vision impairment. So it’s really important to consider if your colors have enough contrast and if they are distinguishable.

It’s good to think about how your colors will be used in the interface now so you don’t have to come back later. For example, will you need to put text on tinted backgrounds, how will your primary button look like, and so on? Continuously check the contrast ratios between the shades you plan to use together and double-check later in your designs.

Naming conventions can make or break a palette. Why? Intuitive naming conventions have a big effect on the color palette’s internal usability.

There are multiple approaches to naming your colors. You can use abstract names, real names, or the color’s function. We recommend the latter as with this approach nobody has to remember if the success color is emerald or lime. The most common functions are:

Abstract vs. Real vs. Function color naming conventions

The most flexible and predictable naming convention for shades is numbering from 0 (white) to 1000 (black). The numbers are assigned based on the lightness of the shade.

Adjectives vs. Numbered naming convention

Why are numbers the best? This approach gives you the room to expand your palette without renaming existing shades. For example, if you would like to add a new shade between Primary light and Primary lighter, how would you name it? With numbers, you would have Primary 400, Primary 300, and add Primary 350.

There are many tools out there that will help you on your journey of creating the perfect color palette. Here are some of our favorites:

Creating a color palette is a complex and important process. Follow these principles to achieve the best results:

That’s it, good luck with your color palette! 🎨

Add a comment

Related posts:

Two Viewpoints on the Orgasm Gap

Is there an Orgasm Gap? The pursuit of sexual satisfaction seems a moving target from youth to older age, perhaps also varying from a sexual orientation point of view.

The Danger of Casual Hatred

I watched an interview once with a woman who was studying sexual harassment in the workplace. At the end of the session, there was a Q and A and one question that was put to her was, “How can men…

React To Do list

From very long time almost 2 year, i have been planning on doing a project in order polish my skills but due to my uni schedule i was not able to do it so finally my uni is over and i have decided to…