How to Copy a HEX Code

Copying a HEX code is one of the smallest tasks in design, but doing it wrong can change the colour of your logo, button or website.

A HEX code is a six-digit code that begins with # and defines an exact colour. Instead of guessing, you can copy it from any tool, image or website and use the same colour in your CSS, design app or brand palette.

This guide will show you how to copy a HEX code in 6 easy steps.

Quick answer: Pick the colour, copy its 6-digit HEX code with the #, and paste it where your design needs it.

Where you can copy a HEX code from:

SourceWhere the code is + 1-line wajah.
Colour picker toolChoose a colour and the HEX appears automatically.
Design apps (Figma, Canva)Select any shape or text to see its HEX value.
WebsiteRight-click a colour, inspect it and the code shows in the panel.
ImageUpload a picture, click a pixel and the HEX value of that pixel appears.
Brand paletteYour saved palette lists each colour with its HEX code.
Browser extensionClick a colour picker tool on any website and the HEX code is copied.

Here are the 6 steps to copy a HEX code:

Go to a colour picker tool.

Open the BrandsFocused color converter, a colour picker or your design app and find the colour you want to copy. The tool opens instantly, no sign-up needed.

2. Pick the colour you want.

Use the colour wheel, sliders or the eyedropper to choose the exact shade. If you are copying from a logo or image, click on the exact pixel.

3. Find the HEX code.

Look for the code that starts with # and has 6 characters — for example #FF5733. Make sure you check all 6 digits; a code with only 3 characters will give you a different shade.

4. Copy the HEX code.

Click the copy button or select the code and press Ctrl + C (or Cmd + C on Mac). Make sure you copy the # symbol along with the 6 digits.

5. Paste the code into your design.

Paste it into your CSS, Canva, Figma or WordPress color settings. Check the preview — the colour should look exactly like the one you picked.

6. Save the code in your brand palette.

Write the HEX code in your palette so you can reuse it for your logo, website and posts. Having the code saved means your brand colours stay consistent everywhere.

Copy a HEX Code vs Type a HEX Code

Copy a HEX Code

Choose a colour and copy its code — no guessing.

Best for:

  • Getting the exact colour from an image or design.
  • Sharing the same colour with your team.
  • Using a brand palette colour in your design.

Type a HEX Code

Type the 6-digit code yourself into the tool or your CSS.

Best for:

  • Using a colour you already know.
  • Trying a colour from a guide or article.
  • Setting a colour quickly in code.

Copying gives you the exact colour, typing gives you speed — use both where they fit.

After copying a HEX code, you can explore the brand color library of ready-made palette options and use the color converter to change it to RGB or HSL. To learn how each colour makes people feel, read the brand color psychology guide, and to build your own palette, read how to design a color palette from scratch.

Common Mistakes

Error #1: Copying only 3 characters. A short code like #F53 is not the same as #FF5533. Always copy all 6 digits with the #.

Error #2: Forgetting the # symbol. A code without the # won’t work in CSS. Copy the # with the digits.

Error #3: Copying the wrong pixel. If you click the wrong part of an image, you get a different shade. Zoom in and click the exact spot.

FAQ

Where is the HEX code in Figma?

Select any shape or text, then look in the Fill or Stroke panel on the right — the HEX value shows next to the colour.

Where is the HEX code in Canva?

Select an element, click the colour box, then click the + or the HEX field — the code shows there and you can copy it.

Can I copy a HEX code from any website?

Yes, open your browser’s Inspect tool, find the colour in the Styles panel and copy the HEX value.

Do I need a tool to copy a HEX code?

No, you can copy it from any colour picker, design app or website, but a colour picker tool is the fastest way.

Try It Yourself

Go to a colour picker, copy one HEX code and paste it into your design today. If it matches the colour you picked, you’re ready.

Similar Posts

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *