Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Create Figma Color Styles to Reuse Across Frames

    Joe PreviteJoe Previte
    figmaFigma

    In this video, you will learn how to create Color Styles, or a color palette so that you can reuse colors across various frames in your project in Figma.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss

    Transcript

    Transcript

    Instructor: As always, let's create a new frame where we'll store our color palette. Select the frame tool, and then next to the typography system, let's draw a frame. Let's call this colorPalette. Let's establish what our primary color is.

    Let's use the text tool, and we will use our paragraph style from earlier. We'll type primary, and then we will duplicate that by holding alt, clicking, and dragging, and say secondary. We'll use these to establish our primary and secondary colors.

    Now, let's select the shape tools, and then select the lips. We will hold shift, and then click and drag a small circle. Then we'll head over to fill and select our primary color. In this case, I'm going to be using this blue.

    To turn it into a color style that we can reuse across our project, we're going to click the four dots on the fill menu. Then we're going to hit plus to create a style. We'll call this awesomeApp, and then we'll put a slash, which I'll explain in a second, and write primary.

    When I put the slash, that allows you to group styles. Notice here how I have awesomeApp, and then the color that we just established. Versus in other projects, I can group them in a different area. Let's go ahead and make our secondary color.

    Click the blue circle, and then hold alt, click, and drag. Now, we're going to detach this style. Then we're going to click the fill, and choose a different color. In this case, I'm going to use a pink color. Then we're going to repeat the same steps from earlier.

    We'll click the four dots, click plus, and then we'll write awesomeApp/secondary so that it's grouped with our awesomeApp color styles. Great. Now, you'll see that we have our primary and our secondary color inside of the group of color styles, under awesomeApp.

    You'll notice on the right side, Figma does an awesome job of letting you know what color styles you have available in this project. In our case, we have our primary, which is the blue, and then our secondary, which is this pink.

    Let's go ahead and try using these. If we select the button component, you'll notice Figma is telling us that this is an instance, and not the master component. Let's go to the master component. Then let's select the rectangle layer, and change the fill using the four dots, and selecting our primary color, which in this case, is this blue.

    Now, let's go back to our page that we were originally working on. Let's scroll down, and see if our buttons have changed. You'll notice that they have. Last, let's use our secondary color style to change the title of our app, awesomeApp.

    If we select it, and then go the fill menu on the right, select the four dots, and select the pink, it'll change and use that color style. Let's say we want to change the primary and secondary colors for our project.

    First, let's select the color, then select the style, and then select the sliders to edit the style. Let's change this to a darker blue. Let's close that, close the style menu. Now, let's see if our button has changed. You'll notice that it has.

    By creating a color palette and using color styles in Figma, you're able to easily change the colors throughout your project by modifying them in one place.