Use custom colors
In Theme settings > Products, you can assign custom colors to product variants using a hex code color (e.g. #00b300
). Custom colors will override any default colors.
In the Custom swatch colors field, list up to 100 variant names followed by a colon and the hex code (e.g. “Green: #00b300”).
If your store uses multiple languages, add each translated variants name on a separate line with the assigned hex code.
Version update
Stiletto v5.1.0 added support for Shopify’s built-in swatches feature. If you've added custom colors or images using Shopify’s category metafields, those swatch values will be used by default on product pages, product cards, and filter options.
Learn more about adding swatches with category metafields.
Watch video tutorial
Find color hex codes
To find the hex code for the color you want, you can use a HTML color picker like this one. When you choose your color, select and copy the six-character hex code, including the hashtag symbol.
Add custom colors
In Theme settings > Products, list variant names followed by a colon and the hex code (e.g. “Green: #00b300”). If you store uses multiple languages, add each translated variant name with the custom hex code on separate lines.
Adding more than 100 custom swatch colors can cause a ‘500’ error on your store and stop collection pages from loading. Consider using Custom swatch images for larger sets of variant swatches.
Related links Enable swatches Use default color swatches Use variant image swatches Upload custom image swatches Change swatch styles Show swatches on product cards Enable dynamic option availability
Last updated
Was this helpful?