Photo by Faizur Rehman / Unsplash

How Colors is used in UI

Jul 29, 2022

If you've ever wondered how to choose the right colors for your UI, read the following blog. I'll break down the basics here.

The color scheme of a website or an app makes it memorable, trustworthy, and appealing. It's all about making an excellent first impression. Some colors are so deeply engraved in a brand's history that they are sometimes as easily recognizable as the brand itself.

Imagine Coca-Cola being blue or Facebook being red. Feels weird, right? Color is an amazingly powerful tool for brand-building, storytelling, and conveying the right emotions.

How to pair colors
Here are the main guidelines for choosing your color schemes:

1. Find your primary color – App designers use different methods to pick the best color palette for their apps. The most used methods are the analogous method and the monochromatic method of color choice. Some do it by intuition or use color tools available on the web.

2. Decide on the number of colors you’re going to use. It’s best to have one primary, one secondary, and if you really need, one tertiary color with two neutrals - dark and light.

3. Use secondary colors when needed – underlining a secondary Call To Action or establishing a hierarchy between your content.

Notice how Testlio uses color to establish hierarchy

4. Use neutral colors – neutral colors are most often used for text to create contrast between the elements and make them stand out. They can also be used as background colors. The neutral colors are white, black, and gray, with all their shades and tints.

5. Use neutral tones – These colors are usually made for secondary actions and help establish a hierarchy between buttons or actions. They help balance your design,

5. Work on your contrast – The best way to measure your contrast values and see if your content is legible is to use the WCAG contrast checker tool or an A11y contrast checker plugin for Figma.


Error to 200

Error to 200 means "Error to Success Status". Through this blog and youtube channel, I attempt to teach basics and those coding techniques to people in a short time, which took me ages to learn.