Fluorescent
Eclipse
Eclipse
  • Get started
    • Migrating to Eclipse
    • Theme license
  • FAQs
  • Changelog
    • Update your theme
  • General
    • Editing themes
      • Dynamic content with metafields
      • Edit default theme content
      • Multiple languages
      • Unique content for markets
      • Customizing your site
      • H1 heading tags
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • SEO for Shopify
    • Online store speed
    • Accessibility
  • Theme settings
    • Theme settings
      • Social media
    • Theme styles
    • Fonts
    • Colors
  • Corner rounding
  • Pages
    • Page templates
      • Using templates
      • Customize page styles
      • Create and assign templates
    • Demo layouts
    • About page
    • Home page
    • Blog page
    • Blog post
    • Contact page
    • Password page
    • Search page
  • Sections
    • Sections
      • Using sections
      • Content blocks
    • Blog posts
    • Collapsible content
    • Collection list
    • Contact form
    • Featured collection
    • Featured links
    • Feature product
    • Grid
    • Icon with text columns
    • Image hero
    • Image with text
    • Multi-column
    • Newsletter
    • Rich text
    • Scrolling content
    • Shop the look
    • Shoppable feed
    • Slideshow
    • Video
    • Video hero
    • Video with text
    • Custom Liquid
  • Header
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menu
      • Language and Currency
    • Impact logo
    • Search
  • Footer
    • Footer
      • Image Text and Socials
      • Links block
      • Newsletter and Socials
      • Language and Currency
      • Custom Liquid
  • Products
    • Product listings
      • Product card styles
      • Sale and sold out badges
      • Quick shopping
    • Prices and currencies
    • Swatches
      • Use default colors
      • Use custom colors
      • Use custom images
  • Product pages
    • Product page
      • Gift card product
    • Media gallery
      • Media grouping
    • Product overview blocks
      • Description
      • Price
      • Buy buttons
      • Collapsible row
      • Complementary products
      • Custom option
      • Featured icon with text
      • Icon with text
      • Inventory status
      • Image block
      • Popup block
      • Product rating
      • Text block
      • Share icons
      • Custom Liquid
    • Variant selector
      • Info popup
    • Sticky add-to-cart
    • Sibling products
    • Product recommendations
  • Collections
    • Collection page
      • Banner
      • Product grid
      • Promotion tiles
      • Filters and sorting
    • Collection list page
  • Cart
    • Cart
    • Free shipping bar
    • Cross sells
  • Popups
    • Popups
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • Advanced
    • Custom CSS
    • Custom fonts
Powered by GitBook
On this page
  • Watch video tutorial
  • Find color hex codes
  • Add custom colors

Was this helpful?

  1. Products
  2. Swatches

Use custom colors

Last updated 4 months ago

Was this helpful?

In Theme settings > Swatches, 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.

Why are my swatches blank?

Make sure the variant names match the exact spelling from your Shopify admin. If your store uses multiple languages, add each translated variant name with the assigned custom hex code on separate lines.

Why aren’t my collection pages loading?

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.

Watch video tutorial

Find color hex codes


Add custom colors


In Theme settings > Swatches, 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.

STEPS

In your theme editor (Customize):

  1. Click to open the Theme settings, then click Swatches.

  2. In the Custom swatch colors field add the exact name of the Option value (e.g. the product variant "Green") followed by a colon and your hex code color (e.g. Green: #00b300).

    To add more than one custom color, press the 'return' key to add each color on its own line.

    For sibling products, use the Option name added to the metafield you created. See the sibling product swatches guide to learn more.

  3. (For multiple store languages) Add the translated variant name for all languages, followed by a colon and the hex code.

    For example, for stores that use English and German, add custom colors for both Green and Grün on separate lines.

  4. Click Save.

To find the hex code for the color you want, you can use a . When you choose your color, select and copy the six-character hex code, including the hashtag symbol.

HTML color picker like this one