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.
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






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.

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.

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.

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.







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

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.


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.


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.
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.










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.










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.


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.


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.







Color combinations
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.







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.
- 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.
- Choose a neutral. Pure grey or a grey tinted with your primary or secondary, but never saturated, so it doesn't call attention.
- 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.
- 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.
- Choose feedback colors for toasts, notifications and errors: success, warning, error and info. They must catch attention, sometimes in a fraction of a second.
- Create alternative colors (optional) for tags, categories or sections that need to be distinguished.
- Add social media colors (optional) if you have social login buttons or icons.
- Add everything to your design system, but only after testing the colors in a few real concepts.
Resources
- Color wheels: Adobe Color, Canva color wheel, Paletton
- Palettes: Coolors, Flat UI Colors, Huesnap
- Contrast: Stark plugin for Figma, A11y Color Contrast Checker
- Reading: Using color to enhance your design (NN/g), Color in UX (Toptal), Defining colors in your design system
Quiz
Check what you learned
Exercise
Build a complete palette
Follow the eight steps to create a palette for a fictional product.
0/5 steps done