Shopify color swatches are the small colored circles or squares that shoppers tap to pick a color. They are much easier to scan than a list of color names, and they show the real shade before anyone buys. Good news: Shopify swatches are now built in, so you don’t need an app or any code.
In this guide I show you how to add color swatches in Shopify the native way, step by step, in both of Shopify’s free themes, Dawn and Horizon. I have set up swatches on many client stores, and this is the method I use today.
Here is what you will learn:
- How Shopify’s built-in swatches work, in plain words
- How to add your own colors, including patterns like stripes
- How to link the Color option so the swatches appear
- The swatch settings in Dawn and Horizon
- How to show swatches on collection pages and in filters
- When you still need an app, and how to fix common problems
How Shopify color swatches work
Shopify color swatches come from three things that work together. Once you know them, every step below makes sense.
- A product category. Every product can have a category from Shopify’s standard list, such as Apparel & Accessories > Clothing > Clothing Tops > Shirts. Many categories come with a Color attribute, called a category metafield.
- Color entries. Each color is a small saved record with a name, a color code, an optional image, and a base color. Shopify gives you default entries like Black and Red, and you can add your own.
- A linked Color option. When your product’s Color option is connected to the Color category metafield, each option value points to a color entry. Your theme then reads the color or image and draws the swatch.
Shopify’s own guide to adding color swatches using category metafields says it clearly: swatches only work with a variant option that is connected to a color category metafield. A Color option typed as plain text will show as normal buttons, never as swatches.
You also need a theme that supports Shopify swatches. Dawn added them in version 13, and Horizon has them built in. Older vintage themes don’t support them without code.
Step 1: Give the product a category with a Color attribute
- In your Shopify admin, go to Products and open a product.
- In the Category field, choose the category that fits best, for example Shirts. Shopify often suggests one for you.
- Click Save.
After you save, a Category metafields area appears on the product page. If you see Color in it, you are ready. If not, the category has no color attribute. Pick a more exact category. Some categories use a more specific name, such as Frame color, Band color or Footwear color, and these also support swatches.

Step 2: Add your colors as entries
Your color entries decide what your Shopify color swatches look like. You can use Shopify’s defaults, edit them, or make your own.
Use or edit a default color
- On the product page, in Category metafields, click Color.
- Select the colors you sell, such as Black and White.
- To change one, click the entry, edit the fields and click Save.
Be careful here. An edit applies everywhere that entry is used. If you change Black to a softer charcoal, every product that uses Black changes too.
Add a custom color with a hex code
Most brands use their own color names, like Sage or Midnight. Here is how to add one:
- In Category metafields, click Color, then click Add new entry.
- Type the name shoppers will see, for example Sage.
- Set the color with a hex code, for example #B9CFAE.
- Choose a base color. This maps your custom name to a standard color, so Sage goes under Green.
- Click Save, then save the product.
Take the hex code from your real product, not from a guess. I pick it from a clean product photo with a color picker, then compare the swatch with the photo on a phone.
Add a pattern or texture with an image
A single hex code can’t show stripes, leopard print, denim or a two-tone fabric. For these, upload a small square image to the entry’s image field instead. A close crop of the real fabric works best.
When an entry has both a color and an image, the image wins. I checked this in the code of both free themes: Dawn and Horizon look for a swatch image first and only use the color when there is no image.
You can also manage all your colors in one place: go to Content, then Metaobjects, and open the color definition.
Step 3: Link the Color option to the category metafield
This is the step most people miss. Without it, color swatches in Shopify never appear.
For a new product
- Open the product and scroll to Variants.
- Click Add options like size or color.
- Select the Color category metafield from the list. Your color entries fill in as option values.
- Add more values if you need them, then click Save.
For a product that already has a plain Color option
- In Variants, click your existing Color option.
- Click the dynamic source icon next to the option name.
- Choose the Color category metafield.
- Shopify may warn that the current values will be cleared. Continue, then select the matching color entries.
- Click Save.
After a switch like this, check each variant’s price, stock and image before shoppers see the product.

Step 4: Show color swatches in Shopify themes
Once the option is linked, both free themes show color swatches in Shopify by default. You only need the theme editor to change how they look. Go to Online Store, then Themes, and click Edit theme. In the drop-down at the top, choose Products, then Default product.
In the Dawn theme
- In the Product information section, click the Variant picker block.
- Under Style, choose Pills for a row of swatches, or Dropdown for a drop-down with a small swatch next to the chosen color.
- Under Swatch, choose Circle or Square. None turns swatches off.
- Click Save.
Dawn’s Featured product section has the same Swatch setting, so you can show swatches on your home page too.
In the Horizon theme
- In the Product information section, open the Details block and click Variant picker.
- Under Style, keep Buttons.
- Make sure Swatches is ticked. It is on by default.
- Click Save.
Horizon controls the size and shape for the whole store. Open Theme settings (the gear icon) and find Swatches. There you can set the Width and Height (16 to 100 px, default 30), the Corner radius (100 makes a circle, 0 a square), and the Borders. There is also a Variant images checkbox. When you tick it, each swatch shows that variant’s photo instead of the flat color.

| What you want | Dawn | Horizon |
|---|---|---|
| Turn swatches on or off | Variant picker > Swatch > None | Variant picker > Swatches checkbox |
| Round or square | Circle or Square | Theme settings > Swatches > Corner radius |
| Swatch size | Fixed by the theme | Width and Height, 16 to 100 px |
| Swatch inside a drop-down | Yes, with Dropdown style | No |
| Swatches on collection pages | No, only in filters | Yes, with the Swatches block |
| Variant photo as the swatch | No | Yes, Variant images |
Shopify swatches on collection pages
Many store owners want Shopify color swatches under each product on the collection page, too. Here the two free themes differ.
Horizon supports it out of the box. Open a collection template, select the Product card block inside the Collection section, and look for the Swatches block. It is part of the default product card. If you removed it, click Add block and choose Swatches. You can set the alignment for desktop and mobile.
Dawn doesn’t show swatches on product cards. Its product card code has no swatch setting. Dawn does show swatches in collection filters, which is the next best thing.

Add color swatches to your filters
- Install Shopify’s free Search & Discovery app if you don’t have it.
- In the app, go to Filters and click Add filter.
- Select Color with the type Category metafield as the source.
- Click Manage values and tick Include swatch. Tick Use images when available if you use pattern images.
- Click Save.
Both Dawn and Horizon show these Shopify swatches in the filter list. The base color you set in Step 2 also helps here, because the filter can group Sage, Olive and Forest under Green.
When you still need a Shopify swatches app
For most stores, the built-in Shopify color swatches are enough. An app or custom code still makes sense in a few cases:
- You use a vintage theme. Older themes don’t read swatch data. Updating to an Online Store 2.0 theme is usually the better fix.
- You use Dawn and want swatches on product cards. That needs code changes or an app.
- Each color is a separate product. Native swatches link variants of one product. Shopify’s Combined Listings app joins separate products, but it is only for Plus and enterprise plans.
- You need swatches for things other than color, such as material or scent, with custom images.
Shopify’s developer docs also show that an option can be linked to a custom product metafield that points to color entries. That route needs the Admin API, so it is mostly for apps and developers.
Common problems with Shopify color swatches
Swatches are not showing
This is the most common complaint about color swatches in Shopify, and it almost always comes from one of these:
- The Color option is plain text, not linked to the Color category metafield. Redo Step 3.
- The swatch setting is off: Swatch is set to None in Dawn, or Swatches is unticked in Horizon.
- Your theme is too old. Check the version under Online Store > Themes. Dawn needs version 13 or newer.
- The product uses a different product template from the one you edited.
The swatch shows the wrong color
Open the color entry and check the hex code. If the entry also has an image, the image is used instead of the color, so remove or replace it. Then compare the swatch with the product photo on a phone, where most shoppers will see it.
Changing one color changed other products
Entries are shared. If your Black T-shirt is jet black but your Black hoodie is washed black, make a second entry called Washed Black with its own hex code. Don’t edit the shared one.
The swatch is empty or crossed out
An empty swatch usually means the entry has no color and no image. A crossed-out or faded swatch means that variant is sold out or unavailable. That is normal behavior, not a bug.
Pattern swatches look blurry or cut off
Shopify swatches are tiny. Dawn loads the image at 50 px wide and Horizon at 80 px, and both crop it to the swatch shape. Use a square, close crop of the pattern so the main detail sits in the middle.
Tips for swatches that help shoppers
- Keep the color name visible. Both themes show the selected color’s name next to the option label. Keep names short and clear.
- Match the photo. When a shopper taps a swatch, the variant image should change to that color. Assign an image to every variant.
- Add a border for light colors. A white swatch on a white page disappears. Horizon’s border settings fix this.
- Stay consistent. Use the same entries across all products, so Navy is always the same Navy.
- Test on a phone. Swatches should be easy to tap with a thumb. In Horizon, 30 px or more works well.
Good product photos make Shopify color swatches far more useful. My Shopify image sizes guide covers the right sizes for variant images. If you sell clothing, pair your swatches with a clear size chart.
Related guide
- Shopify variant limit: 2,048 variants and what to do past 3 options.
Frequently asked questions
How do I add color swatches in Shopify without an app?
Give the product a category with a Color attribute, add your color entries, and link the product’s Color option to the Color category metafield. Dawn and Horizon then show the Shopify color swatches automatically.
How do I add color swatches in the Shopify Dawn theme?
Update to Dawn 13 or newer, link your Color option to the category metafield, then pick Circle or Square under Swatch in the Variant picker block.
How do I show color swatches on the Shopify collection page?
In Horizon, keep or add the Swatches block inside the Product card. Dawn has no card swatches, so you need code or an app, but you can add color swatches to its filters with Search & Discovery.
Why are my Shopify color swatches not showing?
Usually the Color option is not linked to the Color category metafield, or the swatch setting is turned off. An old theme version or a different product template can also be the cause.
How do I change color swatches in Shopify?
Go to Content > Metaobjects, open the color definition, edit the entry’s color or image, and save. Remember that the change applies to every product using that entry.
How do I add image swatches in Shopify?
Upload a small square image to the color entry’s image field. Dawn and Horizon show the image instead of the flat color, which makes color swatches in Shopify work for prints, stripes and textures.
Clear Shopify color swatches are a small detail that makes a store easier to shop. For more practical guides like this, see my Shopify tips. If you would rather have it done for you, I set up swatches as part of my Shopify store management service. Message me on WhatsApp and I will take a look.




