# Product options swatches ![Minimog theme Product options swatches settings showing custom color hex codes and image uploads for product variant swatches.](https://docs-assets.foxecom.app/minimog-theme/f4db87cb-44bd-410f-b512-248306e50e9d.png) Show the real color, pattern, or texture of each product option as a swatch on your product pages. The **Product options swatches** settings let you set a hex color for each color name, and upload an image swatch for values like a fabric or print. ## How to edit Product options swatches 1. Open the theme editor (**Edit theme**) and go to **Theme settings**. 2. Open **Product options swatches**. 3. Adjust the settings described below. 4. Click **Save**. ## Settings ### Colors palette Sets the color of each swatch for options that use the **Color** design. | Setting | Description | Options | | ----------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------- | | **Custom colors** | A list of option values and their colors. | Enter each value as `name: #HEX`, followed by a comma, one per line. For example: `red: #FF6961,` |
Write each name exactly as the option value appears in **Shopify Admin > Products**. To look up hex codes, see [Hex color](https://www.color-hex.com/). ### Custom images Sets an image swatch for options that use the **Custom image** design. You can add up to 50 values. | Setting | Description | Options | | ------------------------------------------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------- | | **Option value 1** to **Option value 50** | The option value the image belongs to, such as `Gingham`. | Enter the value exactly as it appears in **Shopify Admin > Products**. | | **Custom image for value 1** to **Custom image for value 50** | The swatch image for that value. | Upload a PNG image. The recommended size is 60x60px. |
Custom images must be PNG files. A swatch only shows when its name or option value exactly matches the value on your product. ## Tips and best practices * Set the option's **Design** to **Color** or **Custom image** in **Theme settings >** [**Product options design**](https://docs.foxecom.com/minimog-theme/theme-settings/product-options-design), or the swatches won't be used. * Use **Custom image** for patterns and textures that a single color can't show, such as gingham or flanne ## Related articles Product options design