← Back to home

Game UI Color Palette From Concept Art: A Practical Workflow

Published on Nov 21, 2026 · 6 min read

Concept art already contains the palette your game needs. The problem is turning a painted image into interface colors that work on buttons, panels, damage numbers and tooltips. Sampling by eye produces a handful of pretty hex codes that fight each other once they are stacked in a menu. A short, repeatable workflow fixes that: extract a small set, assign each color a job, check contrast, and only then build components. Everything below can be done in the browser, so unreleased artwork never leaves your machine.

Start With the Right Reference

Pick one concept piece per biome or faction, not the full gallery. The best reference for UI work has large areas of readable local color, moderate lighting and no heavy bloom. A dramatic key-art painting with a single light source will give you mostly shadows and highlights, which are lighting decisions rather than base colors.

Use a PNG or a high-quality source file. A heavily compressed JPEG shifts colors around edges and fills gradients with noise, so the extracted swatches drift toward grey. If the only reference you have is a screenshot, expect to clean up the result manually.

Extract Six to Eight Colors, Not Twenty

The palette extractor downscales the image, counts quantized pixel values and ranks the most frequent ones, returning up to twelve swatches. Frequency is a useful first filter: the colors that cover the most area are usually the ones that should define backgrounds and surfaces.

Do not ship all twelve. A game UI needs a small number of roles, not a large number of colors. Six to eight is enough to cover a dark background, a raised panel, a border, two text levels, an accent and a state color. Everything else — hover, pressed, disabled, selected — should be a tint or shade of one of those roles.

The automatic list is a starting point, not the answer. Click into the image to sample specific pixels when a swatch is close but not quite right, especially for accents and text colors that occupy little area and therefore rank low by frequency.

Assign Roles Before You Name Colors

Role-based naming prevents the classic problem where “blue” becomes the button color, the link color and the selection color, and nobody can change one without breaking the others. Write the role first, then pick the value that fits it.

RoleExampleWhat it controls
Background#0F172AFull-screen backdrop, the darkest surface
Surface#1E293BPanels, cards, menus that sit above the background
Border#334155Dividers and panel outlines that stay visible without shouting
Text primary#F8FAFCHeadings and the values players must read
Text secondary#94A3B8Labels, cooldowns, helper copy
Accent#3B82F6Primary action, selection, focus
Warning / danger#F59E0B / #EF4444Low health, destructive actions, error states

These values are an example of the structure, not a required palette. The point is that every color has exactly one job, and components reference roles instead of raw hex codes. When the art direction changes, you update seven values rather than hunting through every screen.

Check Contrast While the Palette Is Still Small

Contrast is the most common failure in dark game interfaces. A blue that looks vivid against white can disappear against a dark panel, and thin 12-pixel labels are the first casualties. Use the WCAG thresholds as a floor: 4.5:1 for normal body text, and 3:1 for large text, icons and essential UI boundaries.

Test each text role against every surface it can appear on, not just the main background. A tooltip may use a lighter panel than the inventory screen, and a modal may dim the area behind it. If the accent color fails 4.5:1 against a surface, keep it for large text, icons and fills, and use the primary text color for the label. Also check the palette in greyscale: if two states look identical without hue, they will be indistinguishable to colorblind players.

Test at Real Size, Not at Artboard Size

A palette that looks balanced in a 4K mockup can fall apart at 1280×720 or on a Steam Deck. Shrink a representative screen — an inventory, a settings page, a combat HUD — and check three things: can you still separate the surface from the background, is secondary text readable, and does the accent still mark the primary action. If the answer depends on saturation alone, add a value difference between the roles.

This is also the moment to check for accidental hard-coded colors. A single pure-white icon or pure-black shadow can make a carefully tuned dark palette look uneven, because it breaks the value range the rest of the UI follows.

Convert the Palette Into Engine-Friendly Values

HEX is convenient for design tools and CSS; engines often want RGB floats or linear color values. The color format converter translates between HEX, RGB and HSL without rounding surprises. HSL is especially useful for generating hover and pressed states: change lightness by a fixed amount and keep the hue stable instead of mixing in white or black.

Store the palette in one place — a data file, a theme asset or a small set of variables — and reference it from every widget. If the UI framework supports semantic tokens such as surface-raised or text-muted, map roles to those tokens rather than to literal colors. The concept art stays the source of the mood; the token file becomes the source of truth.

Common Mistakes

Frequently Asked Questions

How many colors should a game UI palette have?

Aim for six to eight core colors with defined roles: background, surface, border, primary text, secondary text, accent, and one or two state colors. Extra tints and hover states should derive from those roles rather than becoming new base colors.

Can I extract colors from a screenshot instead of concept art?

Yes, but screenshots contain lighting, post-processing and compression artifacts that concept art may not. Sample a screenshot for accents or atmosphere, and sample flat concept art when you need stable surfaces and text colors.

What contrast ratio should game UI text use?

Use 4.5:1 for normal body text and 3:1 for large text, icons and essential UI boundaries. Dark themes make low-contrast greys tempting, but thin interface text at 12 to 14 pixels needs the higher ratio to stay readable.

Why do my extracted colors look muddy?

Muddy results usually come from sampling a compressed JPEG, averaging too many pixels, or keeping mid-tone lighting instead of the intended local color. Sample a clean PNG, pick a few specific pixels, and raise saturation slightly after extraction.

Related Guides