Skip to main content
CSS Properties

background-color

CSS property · 15 supported, 0 partial, 0 unsupported across 15 clients

background-color is the foundation of branded email layouts: it paints the canvas behind tables, cells, hero blocks, and CTAs. Support is essentially universal across clients, but background-color interacts with dark mode and accessibility tooling in ways that often break visual hierarchy when not paired with a corresponding text color.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobileSupported
Gmail iOSmobileGmail MobileSupported
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebSupported
Outlook ClassicdesktopMicrosoft WordSupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooSupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
SuperhumandesktopBlinkSupported

Client-by-client behaviour for background-color

Fully supports background-color (15): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook (New), Outlook Classic, Outlook iOS, Outlook Android, Apple Mail, Apple Mail iOS, Yahoo Mail, Samsung Mail, Thunderbird, HEY Mail, Superhuman.

When to use background-color in email

  • Painting hero backgrounds and full-width banner cells using <td bgcolor> alongside CSS for double coverage.
  • Coloring CTA buttons that need to remain on-brand even when background images are blocked by the recipient's client.
  • Establishing alternating row colors in digest-style emails so individual sections remain visually scannable.

Rendering behaviour and edge cases

  • Outlook respects background-color when applied directly to <td>, less reliably on <div>; use both the bgcolor attribute and inline CSS for safety.
  • Gmail and Yahoo will reverse background-color in dark mode unless the email opts out via meta color-scheme.
  • Some clients ignore background-color on rounded buttons unless the parent table also defines it — always set it on the cell, not just the inner element.

Recommended fallback strategy

Always pair background-color with a matching color on text inside the element to avoid contrast collapse during dark-mode inversion. Use the deprecated bgcolor HTML attribute alongside CSS to cover the legacy Outlook path. For images that overlay a colored area, set the cell background-color to match the image's dominant color so blocked images still look intentional.

Related Features

Test your email across all 15 clients

Preview rendering, catch CSS issues, and get actionable fixes — free.

Try Emailens Free

Support data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.