For the complete documentation index, see llms.txt. This page is also available as Markdown.

Colors

Colors settings define your store's palette: the background, text, button, and accent colors that appear throughout your storefront.

1. How it works

Colors in Theme settings let you save a set of colors under a name, then reuse it across your store. Think of them as a library of palettes. Whenever you need a section to match a certain look, just pick the scheme and all the colors slot in.

1

In the theme editor, click Theme settings > Colors.

2

Under Schemes, you'll see a list of your existing schemes (12 starter schemes are included: the Sera preset uses all 12, and the Arctos preset repeats its first 6 palettes in schemes 7 through 12). Select any scheme to edit it, or click Add Scheme to create a new one.

3

Set your Default color scheme. Every new section you add to your store automatically inherits this scheme.

4

Set your Page background color.

5

Save the changes.

By default, every section and block on your store uses the default scheme automatically.

If you want a specific section to look different (for example, a dark banner on an otherwise light page), you can easily change it:

1. Open that specific section in the editor.

2. Under the Style settings category, turn off Inherit color scheme.

3. Pick a different scheme from the list.

Only that section will change; everything else stays exactly as it is.

2. Color schemes

When you open or create a scheme, you'll see three groups of color settings: General, Primary button, and Secondary button. Each group controls a different part of how your sections look.

2.1. General

The General group controls the foundational colors of your store: its background, text, links, and accent highlights.

Setting
What it affects

Background

The fill color behind section content

Primary color

The main accent color for your store, typically your brand's primary color. Used for highlights and key UI elements throughout the scheme.

Heading

Color applied to all heading text within the section

Body

Color applied to body and paragraph text

Highlight

Color applied to highlighted text segments within headings, text blocks, and promotional components using this scheme

Link

Default color of inline text links

Hover link

Color of inline text links on hover

Primary color is your most versatile accent slot.

  • The most common pattern is to set it as the hover background on your primary button. The button shifts to your accent color on hover without needing to manage a separate value.

  • You can also use it as the hover border on your secondary button for a consistent highlight across both CTAs, though this depends on how your secondary button is styled.

2.2. Primary button

The Primary button group controls the appearance of your main call-to-action buttons: the ones you want shoppers to notice and click first.

Setting
What it affects

Background

Fill color of the button in its default state

Hover background

Fill color when the cursor hovers over the button

Text

Label color in its default state

Hover text

Label color on hover

Borders

Border color in its default state

Hover borders

Border color on hover

For a flat, solid-fill button with no visible outline, set Borders and Hover borders to the same color as Background and Hover background, respectively. When the border matches the fill, the stroke becomes invisible and the button reads as a clean solid block.

2.3. Secondary button

The Secondary button group styles a lower-priority action, typically an outline or ghost button used alongside the primary CTA. It follows the same structure as the Primary button group.

Setting
What it affects

Background

Fill color of the button in its default state

Hover background

Fill color when the cursor hovers over the button

Text

Label color in its default state

Hover text

Label color on hover

Borders

Border color in its default state

Hover borders

Border color on hover

3. Default color scheme

When you add a new section or block to your store, it automatically picks up the default scheme. If you switch the default to a different scheme, all sections that haven't been manually assigned a scheme will update to match.

4. Page background

The page background is the color that shows through wherever no section covers it (such as the gaps between sections, or the edges of the page on wider screens).

To set it, click the Page background swatch. You have two options:

  • CSS color or gradient Type directly into the CSS Code field. Use a hex value for a flat color (e.g. #F5F5F5) or a CSS gradient value for a gradient (e.g. linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%)).

  • Gradient picker Switch the dropdown from CSS to Gradient to use Shopify's built-in gradient editor. Select one of the preset gradients as a starting point, then adjust the colors, angle, and stops using the visual controls.

The gradient picker is the easier option if you're not comfortable writing CSS. Start from a preset that's close to what you want, then tweak from there.

5. Choosing colors that work for your brand and your shoppers

Before finalizing any scheme, check the contrast ratio between your text and its background. The standard for readable body copy is a ratio of 4.5:1 (WCAG AA). For large headings, 3:1 is acceptable, but 4.5:1 is safer.

Use Coolors Contrast Checker to test any text/background pair before committing. Paste in your hex values and verify the result for both normal text and large text.

Apply the same check to each of these pairs:

General colors
Primary button colors
Secondary button colors
Button background on section background

Last updated