Setting up swatches
- Go to Theme settings → Color Swatches in the theme editor.
- Enter your color mappings, one per line, in this format:
- Save your settings.
Navy Blue: #001F3F.
Where swatches appear
Once configured, color swatches display on:- Product pages — in the variant picker
- Collection pages — on product cards (if color variants are enabled on cards)
Tips
- Case-sensitive — “navy blue” and “Navy Blue” are different. Match the exact casing from your product variants.
- Use hex codes — always use the
#RRGGBBformat for colors. - Image swatches — for patterns like “Marble” or “Floral”, you can use variant images instead. Shopify will display the variant image as the swatch automatically.
- Check your products — go to Products in Shopify admin and look at the variant option names to make sure they match your mappings exactly.
