> For the complete documentation index, see [llms.txt](https://docs.fermat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fermat.app/ai-tool-catalogue/graphic-and-prints/replace-colors.md).

# Replace colors

## Step by step guide

{% stepper %}
{% step %}

### Open the AI tool

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Replace color](https://toolmaker.fermat.app/tool/replace-color-4c7406f4-0d23-4116-bc92-6f4e56f433e4)' tool.
   {% endstep %}

{% step %}

### Upload your print

{% hint style="warning" %}
For best results, we recommend quantizing your print before modifying its colors. You can do that with the [Reduce Colors](https://toolmaker.fermat.app/tool/quantize-your-pattern-0f92a291-305a-4a22-92e0-ca355994e4a5) tool.
{% endhint %}

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

{% step %}

### Set the current HEX value to replace

Specify the HEX value to modify
{% endstep %}

{% step %}

### Set the new HEX value

Specify the new HEX value to replace the old one
{% endstep %}

{% step %}

### Generate image

Click '*Generate button*' and let the AI process your inputs.

<figure><img src="/files/VdVrhY9fXvz0BJIfRGwQ" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

(tutorial)
