How to use the eyedropper in Figma
Learn how to use the eyedropper in Figma to sample a color from one shape on your canvas and apply it to another layer's fill in just a few clicks.

Quick answer
Select the shape you want to recolor, open its fill color picker, and choose the eyedropper icon. Then click any shape on the canvas to sample its color. The fill updates to the sampled hex value immediately, so you can match colors exactly without typing a code. Close the picker when you are done.
Steps at a glance
- Select the shape you want to recolor
- Open the fill color picker
- Choose the eyedropper icon
- Click the shape whose color you want
- Check the new fill and close the picker
Interactive demo
Summary
The eyedropper samples a color from anywhere on your canvas and applies it to the fill of the selected layer. It saves you from copying hex codes by hand and keeps related shapes visually consistent.
Step-by-step guide
Step 1
Select the shape to recolor
Click Rectangle 2 in the Layers panel to select the shape that should take on a new color. The right sidebar shows its properties, including a Fill section with the current value D9D9D9.
Step 2
Open the fill color picker
In the Fill section, click the color swatch next to D9D9D9. The Color picker opens beside the shape with a color field, a hue slider, and a hex value.
Step 3
Pick the eyedropper tool
In the Color picker, click the eyedropper icon at the left of the hue slider. Your cursor changes so you can sample a color from the canvas.
Step 4
Click the color to sample
Click the blue Rectangle 1 on the canvas. The picker takes that shape's color as the new fill for the selected layer.
Step 5
Close the color picker
Check that the Fill section now shows 3B5BDB and that Rectangle 2 matches the blue shape. Then click the X at the top right of the picker to close it.
Why this matters
You have a shape in the exact blue your brand uses, and a second shape that needs to match it. Sampling the color directly gives you an identical fill without hunting for a hex code or retyping it.
Frequently asked questions
Does the eyedropper change the shape I sample from?
No. It only reads the color from the shape you click. The selected layer is the one whose fill changes.
How do I know which color was applied?
The Fill section shows the sampled hex value, 3B5BDB in this example, and the shape on the canvas updates to match.
Related guides
Continue with more step-by-step guides for getting work done.
How to add a color style in FigmaLearn how to add a color style in Figma: open Styles in the Design panel, create a new color style, name it, set a hex value, and find it listed.
How to create a gradient in FigmaLearn how to create a linear gradient in Figma: draw a rectangle, open its fill color picker, switch to Gradient, and set a custom end color for the stop.
How to change layer opacity in FigmaLearn how to change layer opacity in Figma: select a layer, open the Opacity field in the Design panel, type a lower value and press Enter.
How to use the pen tool in FigmaLearn how to use the pen tool in Figma: pick Pen, click points on the canvas, close the path, and find the finished vector in the Layers panel.
How to use the pencil tool in FigmaLearn how to use the pencil tool in Figma: open the Pen menu, pick Pencil, drag a freehand line on the canvas, and find the new stroke in Layers.
How to use variables in FigmaApply a color variable to a layer in Figma. Select the layer, open the Fill picker, search the Libraries tab, and pick your variable for the fill.
Create interactive demos like this one — free, no coding required.
Start for free →