How to Change the Color of Text in Figma
Figma gives designers precise control over text color — whether you're styling a single character, a whole text block, or managing colors across an entire design system. The process is straightforward once you know where to look, but there are several paths depending on exactly what you're trying to do.
The Basic Method: Selecting Text and Opening the Fill Panel
The most direct way to change text color in Figma starts with selecting the text layer:
- Click the text element on the canvas to select the entire text layer.
- Look at the right-hand properties panel — scroll down to the Fill section.
- Click the color swatch next to the fill value to open the color picker.
- Choose a color using the hex input, the color spectrum, or the opacity slider.
- Press Enter or click outside the picker to confirm.
That's the standard flow for applying a single color to all text within a selected layer.
Changing Color on Part of a Text Layer
Figma also supports mixed text colors within a single text layer — useful for highlighting keywords, creating gradient-style label effects, or simply differentiating parts of a sentence.
To change the color of a specific word or phrase:
- Double-click the text layer to enter text-editing mode.
- Highlight the specific characters you want to recolor.
- The Fill section in the right panel will now reflect only the selected characters.
- Click the swatch and apply your new color.
This keeps your design organized — one layer, multiple colors — rather than splitting every styled segment into its own text object.
Using the Color Picker: What the Options Mean 🎨
When you open Figma's color picker, you'll see several input modes:
| Mode | What It Does |
|---|---|
| Hex | Enter a six-digit HTML color code (e.g., #FF5733) |
| RGB | Set red, green, and blue values (0–255 each) |
| HSL | Adjust hue, saturation, and lightness |
| HSB | Hue, saturation, brightness — common in design tools |
You can also control opacity independently using the percentage field next to the color swatch. This is separate from layer-level opacity and affects only the fill color itself.
Applying Colors from Your Styles Library
If you're working within a team or design system, the cleanest approach is to pull colors from saved color styles rather than manually entering hex codes every time.
To apply a color style to text:
- Select the text layer.
- In the Fill section, click the four-dot grid icon (Styles icon) next to the color swatch.
- Browse your saved styles and click to apply.
This ensures consistency across the design and makes global rebranding straightforward — update the style once, and every element using it updates automatically.
Changing Text Color with Figma Variables
Figma's Variables feature (available in newer versions) takes this a step further. Instead of linking to a static color style, you bind the text fill to a variable token — a named value that can change across modes (e.g., light mode vs. dark mode).
To assign a variable to a text fill:
- Select the text layer.
- Click the fill swatch.
- In the color picker, look for the variable icon (a hexagon or diamond symbol depending on your version).
- Choose the relevant variable from your library.
This approach is particularly valuable for products that support theming or accessibility modes, where the same text element might need to render in different colors under different conditions.
Where Text Color Behaves Differently
Not all text color situations work identically in Figma:
- Auto Layout containers: Text inside Auto Layout frames follows the same fill rules, but if the frame has its own fill, make sure you're selecting the text layer specifically — not the parent frame.
- Components and instances: If text is inside a component, the fill may be controlled at the main component level. Instance overrides let you change color per-instance without detaching.
- Text on images or complex backgrounds: The actual color may appear different visually due to contrast with the background. Figma doesn't automatically enforce contrast ratios — that's a judgment call based on your design context.
- Gradients on text: Figma supports applying gradient fills to text (linear, radial, angular). Switch the fill type from Solid to Gradient in the fill panel.
The Variables That Determine Your Workflow
How you approach text color in Figma depends on several factors specific to your situation:
Are you working solo or in a team? Solo designers often work with direct hex values. Teams working on shared projects or design systems benefit significantly from color styles and variables to maintain consistency and reduce manual rework.
Is your project using theming or multiple modes? If the product supports dark mode, brand variations, or accessibility overrides, using variables rather than static styles becomes almost essential — hardcoded hex colors create serious maintenance overhead at scale.
How granular does your color control need to be? Changing a single character's color mid-sentence is perfectly possible in Figma, but it adds layer complexity. Projects with heavy typographic styling may warrant a more structured approach to how text layers are organized.
Which version of Figma are you on? The Variables system is a relatively recent addition. Older education accounts, legacy files, or certain workspace tiers may have limited access to variable-based color management. Color styles have broader availability across all plan types.
The mechanics of changing text color in Figma are consistent — select, fill, pick. But whether you use raw hex values, saved styles, or dynamic variables depends entirely on the scale of your project, how many people are touching the file, and how much flexibility your design needs to handle over time.