Skip to guide content

Colors

Choose color schemes, accents, readable text, status colors, and badge colors for your store.

Editor path
  1. Theme settings
  2. then Colors

How color schemes work

A color scheme is a complete set of background, text, accent, and related colors.

  1. Define a few schemes in Theme settings.
  2. Use each section’s Color scheme to select one.
  3. Edit a scheme to change its colors everywhere it is used. Choose another scheme to give one section a different look, such as a dark band.

Matter derives hover states, stronger borders, and soft tints from these main colors.

The colors in a scheme

Editor path
  1. Theme settings
  2. then Colors
  3. then Choose a scheme
Settings: Choose a scheme
SettingWhat it doesDefault or options
BackgroundSection background.#FFFFFF
Surface (cards, inputs)Cards, inputs, and raised areas.#F5F4F0
TextHeadings, body text, and links.#161511
Secondary textSecondary text such as captions and notes.#75726B
BorderLines and outlines.#E7E4DD
Accent (primary button)Primary button background and decorative accents.#FD5B2A
Text on accentText and icons on accent backgrounds.#FFFFFF
Sale priceDiscounted price.#FD5B2A
A scheme’s background, surface, text, border, accent, and sale-price colors.
A scheme’s background, surface, text, border, accent, and sale-price colors.

A typical set of schemes

The Matter preset has six schemes. Use them as a pattern:

SchemeTypical use
WhiteMost of the page
Soft off-whiteSections that need a little separation
DarkHero and strong bands
Accent backgroundAnnouncement bar
SaleSale badge
GreenService messages

Accent and "Text on accent"

Accent (primary button) and Text on accent work as a pair.

AccentText on accent
Dark, such as deep greenWhite or very light
Light, such as yellowDeep brown or near-black

Change the pair in every scheme using your brand accent.

Light accents: the theme keeps text readable

UseBehavior
Backgrounds, such as primary buttons and badgesKeep your exact accent
“Ink”: text, icons, selected-option outlines, keyboard focus ringsUse a readable version on the scheme background

For each scheme, Matter checks the ink in this order:

  1. Use the Accent when it is readable on the background.
  2. Otherwise use Text on accent, if readable there.
  3. Otherwise use Text.

The same check applies to Sale price.

With a yellow accent and dark brown Text on accent:

AreaResult
ButtonsYellow with brown text
White sectionsDark brown accent text and icons
Dark sectionsYellow accent text and icons, where readable

Readable accent text

Editor path
  1. Theme settings
  2. then Colors
  3. then Readable accent text
SettingWhat it doesDefault or options
Readable accent textOn: small accent labels and savings use the scheme’s Text color. Off: use accent ink, with the automatic contrast check above. Buttons and decoration keep the exact accent.On
Readable accent text alongside a light accent button, labels, and savings.
Readable accent text alongside a light accent button, labels, and savings.

Status colors

Editor path
  1. Theme settings
  2. then Colors
  3. then Status colors
SettingWhat it doesDefault or options
Success (in stock, delivery)In-stock and delivery messages.#1F7A47
Warning (low stock)Low-stock messages.#E5A100
ErrorError messages.#D33F2F
InfoInformation messages.#1769E8
Rating starsRating stars.#FD5B2A

Status colors are shared by every scheme.

Success, warning, error, information, and rating-star color settings.
Success, warning, error, information, and rating-star color settings.

Badge colors

Editor path
  1. Theme settings
  2. then Prices, badges & stock
SettingWhat it doesDefault or options
Sale badge color schemeColors of sale badges.Scheme 5
Sold out badge color schemeColors of sold-out badges.Scheme 3
New badge color schemeColors of new-product badges.Scheme 2

Where to choose a scheme

PlaceScheme control
SectionsColor scheme near the bottom of the settings
Header, Footer, Announcement bar, Cart drawer, Promo popupEach has its own scheme
Featured collection’s Promo card, Promo panels’ Panel, Product grid’s Editorial insertEach block has its own scheme
Campaign bannerBanner color scheme inside; Color scheme around it

Tips

Still stuck? Contact support