Fundamentals · Lesson 1/10

Colors

How color works on screens, its properties, palettes and emotions, and a step-by-step method to build your own palette.

13 min read27 of 52

Color is one of those topics we could explore endlessly. Here, I focus only on what matters for UX and UI, so you understand how to use color in your designs. Color doesn't only affect how good your product looks and how people perceive it. It also affects the user experience and usability.

Digital screens

RGB, CMYK and other models

Your designs will always be used on digital screens, so you mainly work with RGB colors. If you also design brand identities and the client needs printed material, you will need CMYK too.

RGB (red, green, blue)

Mixed by adding light, with 8 bits per channel and values from 0 to 255. That gives 256 × 256 × 256 = 16,777,216 possible colors. Used for screens.

CMYK (cyan, magenta, yellow, black)

Mixed by subtracting, as ink absorbs light. Each color is a percentage of the four inks. Used for print, and it reproduces fewer colors than RGB.

Greyscale

Black, white and the greys in between.

HSB

Hue (which color), saturation (how much color) and brightness (how light or dark). The most intuitive model for designers.

Hex codes are the hexadecimal version of a color, written #RRGGBB, where each pair goes from 00 to FF. Black is #000000 and white is #FFFFFF. In Figma, the hex code is the default value in the color picker.

Color properties

Aa
Try it: color properties
Hue picks the color, saturation its intensity and lightness how light or dark it is. Watch the text: as lightness changes, contrast changes, and so does legibility.
Example from my Figma file: RGB, CMYK and other models
Example from my Figma file: RGB, CMYK and other models
Example from my Figma file: Greyscale
Greyscale
Example from my Figma file: HSB
HSB
Example from my Figma file: HSB
HSB
Example from my Figma file: HSB
HSB

Hue

The actual color: red, blue, green or yellow. Hue sets the mood and tone. Warm hues like red, orange and yellow feel energetic and exciting, while cool hues like blue and green feel calm and relaxing.

Example from my Figma file: Hue

Saturation

The intensity or purity of a color. A highly saturated color is bright and vivid; a desaturated one is muted, as if grey had been added. Saturation affects the visual impact: saturated colors are bold and eye-catching, desaturated ones are subtle and sophisticated.

Example from my Figma file: Saturation

Value or brightness

How light or dark a color is, on a scale from 0 (black) to 100 (white). Value is crucial because it determines contrast and the legibility of text. Colors with similar values blend together and are hard to tell apart. Value also creates depth: lighter foreground elements over darker backgrounds feel closer.

Example from my Figma file: Value or brightness

Contrast

The difference between two colors, which affects legibility, readability and visual impact. It is measured with the contrast ratio, a formula comparing the brightness of two colors. WCAG recommends at least 4.5:1 for normal text and 3:1 for large text. I recommend using a Figma plugin to check text against its background and button labels against their buttons.

Example from my Figma file: Contrast
Example from my Figma file: Contrast
Example from my Figma file: Contrast
Example from my Figma file: Contrast
Example from my Figma file: Contrast
Example from my Figma file: Contrast
Example from my Figma file: Contrast

Harmony

How colors work together. Harmonious colors create a cohesive, balanced composition that's easy on the eyes, while clashing colors feel chaotic.

Example from my Figma file: Harmony

Scales and gradients

A gradual progression from one color to another. Gradients can be linear or radial, and they add depth, contrast and interest. They are also common in data visualization, for example to show temperature or population on a map.

Example from my Figma file: Scales and gradients
Example from my Figma file: Scales and gradients

Proportion

The relative amount of each color in a design. A primary color used sparingly for accents and calls to action draws the eye, while a secondary scale for backgrounds creates unity and consistency.

Example from my Figma file: Proportion
Example from my Figma file: Proportion

Interaction

Also called simultaneous contrast: a color looks different depending on the colors around it. Complementary colors placed together intensify each other and look more vibrant. Colors with similar values placed together blend and become hard to distinguish, which is a real problem with text and backgrounds.

Color wheels and palettes

The color wheel is a visual representation of the color spectrum in a circle. It helps you understand how colors work together and build harmonious palettes.

  • The additive wheel is used for digital design. Its primary colors are red, green and blue, and its secondary colors are cyan, magenta and yellow.
  • The subtractive wheel is used for print. Its primary colors are cyan, magenta and yellow, and its secondary colors are red, green and blue.
Try it: color harmonies
Pick a harmony and rotate the base hue. The markers show where each color sits on the wheel.

Monochromatic

Shades and tints of one hue. Subtle, harmonious and calm. Great for minimal designs.

Analogous

Colors next to each other on the wheel. Cohesive and soft, with a friendly feel.

Complementary

Colors opposite each other. High contrast, bold and eye-catching.

Triadic

Three evenly spaced colors. Vibrant, balanced, playful and energetic.

Tetradic

Four evenly spaced colors. Complex and dynamic, and hard to balance.

Example from my Figma file: Monochromatic
Monochromatic
Example from my Figma file: Monochromatic
Monochromatic
Example from my Figma file: Analogous
Analogous
Example from my Figma file: Analogous
Analogous
Example from my Figma file: Complementary
Complementary
Example from my Figma file: Complementary
Complementary
Example from my Figma file: Triadic
Triadic
Example from my Figma file: Triadic
Triadic
Example from my Figma file: Tetradic
Tetradic
Example from my Figma file: Tetradic
Tetradic

You can also build a palette around a single color with its shades, or a neutral scale plus one accent, or simply colors you like. How you use colors matters even more than which colors you choose. Consider the context, the brand and the audience, and pay attention to value, saturation and brightness, because they define the mood.

Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes
Example from my Figma file: Color wheels and palettes

Emotions

Colors influence how people feel about a design. Meanings are partly subjective and cultural, but there are common associations:

Red

Passion, love, excitement and energy. Also urgency, danger or anger.

Orange

Enthusiasm, creativity and warmth. Also playfulness and friendliness.

Yellow

Happiness, optimism and clarity. Also caution or warning.

Green

Growth, nature and balance. Also envy.

Blue

Calm, trust and stability. Also sadness or loneliness.

Purple

Luxury, creativity and royalty. Also mystery or spirituality.

Pink

Sweetness and romance. Also playfulness or innocence.

Brown

Warmth, stability and earthiness. Also dullness.

Black

Sophistication, elegance and power. Also darkness or negativity.

White

Purity, innocence and simplicity. Also emptiness or coldness.

Meanings change between cultures. In some cultures red means luck or prosperity, while in others it means danger. Always consider your audience.

Example from my Figma file: Emotions
Example from my Figma file: Emotions

Brand identity colors

A brand identity is the visual representation of a brand: logo, colors, typography, imagery and other elements. Brand colors differentiate a brand from its competitors and communicate its values and personality. Keep them consistent across all materials and platforms.

In many projects the brand will already exist; in others you will create it. Either way, what matters most is how you use the colors.

Example from my Figma file: Brand identity colors
Example from my Figma file: Brand identity colors

How to use color

Color transmits emotions (red on a delete button makes people cautious), builds hierarchy (guiding attention to specific areas and actions) and must guarantee contrast and readability, so nobody misses critical information.

Example from my Figma file: How to use color
Example from my Figma file: How to use color
Example from my Figma file: How to use color
Example from my Figma file: How to use color
Example from my Figma file: How to use color
Example from my Figma file: How to use color
Example from my Figma file: How to use color

Color combinations

ProjectsTeamReports
DesignQ3
Website redesign
Try it: how many colors?
Same screen with 0 to 3 colors on top of the neutrals. Notice how each new color gets a clear job: main action, navigation, tags.

0 colors: black and white

Only black, white and maybe greys. It doesn't suit every project, but done well it's elegant and appealing.

1 color

A neutral palette for everything, and the primary color reserved for the main elements and calls to action.

2 colors

Neutrals, a primary color for main actions and a secondary color for navigation and secondary actions.

3 colors

The most common and easiest to implement: neutrals plus primary (main actions), secondary (navigation and secondary actions) and tertiary (tags and minor elements).

Multicolor

The hardest to get right, and not recommended in most cases, because users can't tell what to look at. It works for tools like calendars or project managers: neutrals for the interface, and one color per project, task or event.

Light and dark modes

Some projects need both. Choose colors that work perfectly in both modes, with special attention to contrast. Avoid changing brand colors between modes unless you must.

Example from my Figma file: Color combinations
Example from my Figma file: Color combinations
Example from my Figma file: Color combinations
Example from my Figma file: Color combinations
Example from my Figma file: Color combinations
Example from my Figma file: Color combinations
Example from my Figma file: Color combinations

Best practices

  • Neutrals should be the most used color on screen. Don't overload screens with color, especially in products people use for hours.
  • Reserve your primary color for the main action. If it's everywhere, the main action has to compete for attention. If it's only there, nobody will miss it.
  • Consistency is key. If primary means main action and secondary means navigation, keep it that way on every screen and platform. It also helps people recognize the brand.
  • Explore combinations. Create a few concepts with different palettes, compare them in a real UI and gather feedback before deciding.

Step by step: build your palette

There is no strict rule, but this method lets you play safe and get a good result every time.

  1. Choose your primary and secondary colors. Usually a vibrant primary that catches the eye and a complementary secondary. For example, a bright orange primary and a slightly darker blue secondary, so orange calls more attention than blue. Add a tertiary color only if you need it.
  2. Choose a neutral. Pure grey or a grey tinted with your primary or secondary, but never saturated, so it doesn't call attention.
  3. Create a scale for each color. Place your color over white and duplicate it five times, lowering the opacity to 80%, 60%, 40%, 20% and 10%. Then make one copy over black at 80% opacity for a darker shade. Use the eyedropper to pick the resulting colors so you get solid colors with no opacity. Now you have a clean, consistent scale for hovers, disabled states and more.
  4. Choose a background color. Keep it as its own variable so you can change every screen at once. In light mode it's usually almost white; in dark mode, close to your darkest neutral.
  5. Choose feedback colors for toasts, notifications and errors: success, warning, error and info. They must catch attention, sometimes in a fraction of a second.
  6. Create alternative colors (optional) for tags, categories or sections that need to be distinguished.
  7. Add social media colors (optional) if you have social login buttons or icons.
  8. Add everything to your design system, but only after testing the colors in a few real concepts.
dark
100%
80%
60%
40%
20%
10%
Try it: build a color scale
The method from this lesson: the color over white at 100, 80, 60, 40, 20 and 10% opacity, plus one copy over black at 80% for a darker shade. Pick any color.

Resources

Quiz

Check what you learned

  1. Which color model should you use for digital screens?
  2. What does saturation describe?
  3. What is a complementary palette?
  4. Your logo is blue. What should you do with the product's interface?
  5. How do I create lighter shades of a color?

Exercise

Build a complete palette

Follow the eight steps to create a palette for a fictional product.

0/5 steps done