> For the complete documentation index, see [llms.txt](https://sitar-doc.winterinfotech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sitar-doc.winterinfotech.com/dynamic-source-of-color-swatch-variant-image.md).

# Dynamic source of color swatch variant image

{% embed url="<https://salesiq.zohopublic.in/signaturesupport.ls?widgetcode=siq93f38201da244cbe219b2cab71813c85342abc57dd769c6885e2bde57d2b90da>" %}

**Follow the steps to add a color entry.**

* In the Shopify admin panel, go to the **Content > Metaobjects > Active**

<figure><img src="/files/lhgnjQNd5HVfLaEthwN8" alt=""><figcaption></figcaption></figure>

* Click on **All definitions > Color**

<figure><img src="/files/jt7zAghhoJ0o8B6D3Ymy" alt=""><figcaption></figcaption></figure>

* Add a new entry from here

<figure><img src="/files/tYbevccznS5fAZ1FDFKl" alt=""><figcaption></figcaption></figure>

* Here, you can add a Color name along with its Color code, otherwise you can also upload an Image

<figure><img src="/files/u7AS2OunH5toGVglA9bQ" alt=""><figcaption></figcaption></figure>

You can add images to the color swatch using the dynamic source of metafiled. Follow the below steps:

* Go to the Products
* Open anyone product.
* Click on 'Add options like size or color' and select "**color**"

<figure><img src="/files/TiccxhW4oaWUBzr7nJu5" alt=""><figcaption></figcaption></figure>

* Select/Add required colors.

<figure><img src="/files/CCwXjY4uAmXIP7ys5yeQ" alt=""><figcaption></figcaption></figure>

* Click on the added color to edit it.

<figure><img src="/files/TAQKw0U8gz0guJpb1a6k" alt=""><figcaption></figcaption></figure>

* Add image here and Save.

<figure><img src="/files/jcI2qYVNM1WblMIVZ7Zz" alt=""><figcaption></figcaption></figure>

* When there are color swatches on the product cards and product page, the added images will be displayed.

<figure><img src="/files/kYk6FZsd2yLvIXc4C4PK" alt=""><figcaption></figcaption></figure>
