> For the complete documentation index, see [llms.txt](https://webibazaar.gitbook.io/lyra-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/lyra-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/eVrTARBtHJ8tOIRTl4Iu" alt=""><figcaption></figcaption></figure>

* Click on **All definitions > Color**

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

* Add a new entry from here

<figure><img src="/files/1u39bddVu1u4Ybo0kVkj" 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/RTsshGM1JrLtxSP8vCR6" 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/ZfAtrZwpwb9Mu7k1TcEm" alt=""><figcaption></figcaption></figure>

Click on the added color to edit it.

<figure><img src="/files/9ck599d8WvSy0ayiI4Et" alt=""><figcaption></figcaption></figure>

Add image here and Save.

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