> For the complete documentation index, see [llms.txt](https://webibazaar.gitbook.io/koto-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://webibazaar.gitbook.io/koto-documentation/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/MmYADdb4u4H2gFUtAIk1" alt=""><figcaption></figcaption></figure>

* Click on **All definitions > Color**

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

* Add a new entry from here

<figure><img src="/files/wK3n26OIQJlr0iI63TAd" 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/brT9sYrsRJTfyM7oBtFp" 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/FprHSjG3S0eK1QSjSR2f" alt=""><figcaption></figcaption></figure>

* Select/Add required colors.

<figure><img src="/files/39clldzBLOQ85YkLIIcW" alt=""><figcaption></figcaption></figure>

* Click on the added color to edit it.

<figure><img src="/files/8thi5b5HExI5f9cEZNnl" alt=""><figcaption></figcaption></figure>

* Add image here and Save.

<figure><img src="/files/XQS6MxShZVgrSyEB45nS" 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/aRwgjo31QJ6deIufus9J" alt=""><figcaption></figcaption></figure>
