# Extract Pantone & Hex color

## Introduction

Extracting HEX and Pantone colors from images can be a tedious and time-consuming process. With Fermat, you can effortlessly **identify and retrieve precise HEX and Pantone colors** with just one click, saving you time and ensuring consistency in your designs. This guide will show you how to extract Pantone & Hex colors from your images.

### Step by step guide

To extract Pantone & Hex color from your images, follow these steps:

{% stepper %}
{% step %}

### Open the AI tool

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Hex & pantone extractor](https://toolmaker.fermat.app/tool/hex-pantone-extractor-dd281261-53b4-480b-b8d1-ca180d5b91d7)' tool.
   {% endstep %}

{% step %}

### Upload an image

Upload the image that you want to extract colors from.

{% hint style="success" %}
Supported formats: JPEG, PNG, and WEBP
{% endhint %}
{% endstep %}

{% step %}

### Set the number of colors

Define the number of colors that you want to extract.

* Minimum value is 5 colors.
* Maximum value can be up to 20 colors.
  {% endstep %}

{% step %}

### Extract colors

Press the '*Generate*' button to extract the colors from the image provided.

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2F49fuctc7SYGJ4mAfV8ZC%2FCaptura%20de%20pantalla%202025-01-30%20a%20les%2011.39.01.png?alt=media&#x26;token=01a4c64f-2d7f-4d09-b00b-dea03ffaf17b" alt="" width="563"><figcaption><p>Generate button</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% embed url="<https://youtu.be/X7kTLH5e5DE>" %}
This video demonstrates how to extract colors from specific image.
{% endembed %}
