Figma Color Styles for Beginners Who Retype Hex Codes
You decide the blue on your buttons should be a little darker, and then spend 40 minutes clicking through every frame to change #2F6FEB by hand. You miss three of them, and your file now has two blues that look almost the same.

You decide the blue on your buttons should be a little darker, and then spend 40 minutes clicking through every frame to change #2F6FEB by hand. You miss three of them, and your file now has two blues that look almost the same. Figma color styles exist to stop exactly this, and setting them up takes less time than that one round of hunting.
This guide walks through creating your first color styles, naming them so they stay tidy, cleaning up an existing messy file, and deciding when you need variables instead. It assumes you already know how to draw a frame and change a fill.
What Figma color styles actually do
A color style is a saved, named fill. Instead of each rectangle holding its own hex code, it points to a style called something like "Brand/Primary". Change the style once and every layer using it updates at the same moment, across every page of the file.
Styles can hold more than a flat color. A single style can store a gradient, an image fill, or several stacked fills with their own opacity. For a beginner, though, solid colors are where nearly all the value is.
The habit matters more than the feature. Once your colors live in styles, you stop eyeballing hex codes and start choosing from a short, deliberate list. That alone makes layouts look more consistent, the same way Figma components stop small differences creeping into repeated buttons and cards.
How to create your first color style
- Select any layer with the fill you want to save. Click on empty canvas first if you want to create it without a layer.
- In the right panel, find the Fill section and click the style icon, the small grid of four dots.
- Click the plus button to create a new style.
- Type a name, for example Brand/Primary, and press Create style.
That layer is now linked. Select another layer, click the same four dots icon in its Fill section, and pick your style from the list. To edit a style later, deselect everything, find it under Local styles in the right panel, and click the adjust icon next to it.
Naming that will still make sense in a month
Figma turns slashes in a name into folders. "Brand/Primary" and "Brand/Secondary" sit together under a Brand group. Use that from day one. A simple structure for a small project looks like this:
- Brand/ Primary, Secondary, Accent
- Text/ Default, Muted, Inverse
- Surface/ Page, Card, Border
- Feedback/ Success, Warning, Error
Notice that most names describe the job, not the hue. "Text/Muted" tells you where to use it. "Grey 600" only tells you what it looks like, and you will forget which grey belongs where.
How many color styles a beginner needs
Fewer than you think. Most beginner projects work well with 10 to 14 color styles in total. A practical starting set:
| Group | Count | Purpose |
|---|---|---|
| Brand | 2 to 3 | Buttons, links, highlights |
| Text | 3 | Body copy, secondary text, text on dark backgrounds |
| Surface | 3 | Page background, card background, borders and dividers |
| Feedback | 3 | Success, warning and error states |
If your palette is built on related hues, such as an analogous color scheme, keep the brand group to two colors and let tints of them do the rest. When you feel the urge to add a sixteenth style, ask whether an existing one would do. Usually it would.
A quick test for any new color: does it have a job that no current style already covers? A hover state for a button, for example, can often reuse Brand/Secondary or a darker step of your primary. If you cannot name the job in two words, the color probably does not need a style at all, and it may not belong in the design.
Cleaning up a file full of loose hex codes
Most of us start styling after the file is already a mess. Here is a quick way to fix it without checking every layer.
- Select a top-level frame, or several. In the right panel Figma shows a Selection colors list with every fill and stroke used inside.
- Look for near duplicates: #2F6FEB and #3070EA are almost certainly meant to be the same blue.
- Hover over one of the duplicate colors in that list, click the style icon, and apply your new style. Every layer in the selection using that exact hex is converted in one go.
- Repeat for each color. A 20 screen file usually takes 15 to 20 minutes.
Afterwards, click a few random layers to confirm the Fill section shows a style name instead of a raw hex value. Any leftover hex code is a color that will not update when you change your mind.
Skip variables until styles feel easy
A lot of tutorials now say beginners should go straight to Figma variables, because variables support modes like light and dark theme and are where the tool is heading. I would hold off.
Variables add a second layer of thinking: you usually define raw values in one collection, then semantic aliases that point to them in another, then switch modes per frame. That is powerful for a product with a dark theme or several brands. For a portfolio piece, a landing page or a class project, it is overhead that slows you down and hides the simple lesson, which is to choose a small set of colors and use them every time.
Learn styles first. When you hit a real need, such as a light and a dark version of the same screen, variables will make sense in an afternoon, and the naming habits you built with styles will carry straight over.
Sharing styles with other files
By default, styles live inside the file where you made them. To reuse them, you publish the file as a library and enable it in other files from the Assets panel. Publishing team libraries generally requires a paid plan, so on the free plan many beginners simply keep one "starter" file with styles already set up and duplicate it for each new project. It is low tech and it works.
Whichever way you share them, combine styles with auto layout and components, and you have the three habits that make a Figma file easy to change later.
Frequently asked questions
What is the difference between color styles and variables in Figma?
A color style is a saved fill that can hold solid colors, gradients or images. A color variable holds a single value but can change by mode, such as light and dark themes, and can be referenced by other variables. Styles are simpler to learn, while variables suit larger systems.
Can I use Figma color styles on the free plan?
Yes. You can create and use as many local styles as you like on the free plan. The limit is mainly on publishing them as a shared team library, which generally needs a paid plan.
How do I change a color style everywhere at once?
Deselect all layers, find the style under Local styles in the right panel, and open its edit options. Change the hex value there and every layer linked to that style updates instantly across the whole file.
More in Design Tools
Design Tools
Figma Export Settings for Assets That Stay Sharp
A junior designer sent me a logo last spring for a slide I was building.
Design Tools
Figma Layout Grids for Beginners Who Eyeball Spacing
I reviewed a portfolio site last month where every single element was nearly aligned.
Design Tools
Figma Variants for Beginners Building Their First Buttons
You built a button component in Figma, then made a hover version, a disabled version, a large one and a small one, and now your...