# 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="/files/VdVrhY9fXvz0BJIfRGwQ" 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fermat.app/ai-tool-catalogue/graphic-and-prints/extract-pantone-and-hex-color.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
