# Color swatches

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FqyOh7p2rC8O5rnY7tSVG%2FHyper%20docs%20screenshot%20do%20not%20delete%20(83).jpg?alt=media&#x26;token=7339b0ee-f53a-4433-be2b-5f680a7cc9e3" alt=""><figcaption></figcaption></figure>

## How to enable Color swatches for your Shopify store

{% tabs %}
{% tab title="Product page - Product information section" %}
{% hint style="success" %}

1. Go to **Product page > Product information**.&#x20;
2. In the **Variant picker**, set the **Style** to **Color swatches**.
   {% endhint %}

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FwxR0zhDy5f3t2ubbniAK%2Fimage.png?alt=media&#x26;token=314cef58-d605-4784-81c6-e8c2f2c31c32" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Product cards" %}
{% hint style="success" %}
Go to **Theme settings > Product cards** to enable Color swatches.
{% endhint %}

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FBOKBQKUFBcy5YeO54zeh%2Fimage.png?alt=media&#x26;token=d18d2c94-773d-40c3-a5a8-4c8134199b17" alt=""><figcaption></figcaption></figure>

See more on how to customize Product cards:&#x20;

{% content-ref url="product-cards" %}
[product-cards](https://docs.foxecom.com/hyper-theme/theme-settings/product-cards)
{% endcontent-ref %}
{% endtab %}
{% endtabs %}

## How to set up Color swatches

{% hint style="success" %}
Steps

1. In the theme editor (**Customize**), click **Theme settings**
2. Locate **Color swatches**
3. Make necessary changes
4. **Save**
   {% endhint %}

### Color swatch trigger

Define which is the color option and separate them by a comma.

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2F3sBVRyBauIPwnAmerd2G%2Fimage.png?alt=media&#x26;token=045151c9-baec-43e3-bc31-cd1754a45a19" alt=""><figcaption></figcaption></figure>

### Color swatches

Choose the suitable **HEX color** codes and add them to the provided box.

<figure><img src="https://content.gitbook.com/content/AJrvmfqcj9TMoPkl3bNc/blobs/l9CZ26hSbtfdTmeRd2Fc/swatches-2.png" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Good practice :star:

* List the colors by separate lines.
* Write the product variant names and give it a color HEX value.
  {% endhint %}

***

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FkUIzEsJKOeRiz891zyf5%2Flivechat883x471%20(1).png?alt=media&#x26;token=90cbed2c-e791-49c8-9f43-49a08bed6f1f" alt=""><figcaption><p><a href="https://apps.shopify.com/xflow?utm_source=foxecom&#x26;utm_medium=help_center_hyper&#x26;utm_campaign=banner">Install XFlow Back In Stock Automation FREE</a></p></figcaption></figure>


---

# 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.foxecom.com/hyper-theme/theme-settings/color-swatches.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.
