top of page

Email Dark Mode Design: How to Make Your Emails Look Great in Dark Mode

The Dark Mode Email Problem Most Marketers Don't Know They Have: Email Dark Mode

Open your email app in dark mode and scroll through your inbox. Many emails — even from major brands — look noticeably wrong: black logos that disappear against dark backgrounds, reversed color schemes that clash with the brand, text that becomes illegible, or white backgrounds that punch through the dark interface like a flashlight.

This is the email dark mode problem. And it affects a surprisingly large portion of email audiences.

Apple Mail's dark mode adoption was over 50% among its users by 2022, and dark mode usage on Android has grown steadily across all apps including Gmail. Outlook for Windows added dark mode support in 2019. The combined result is that anywhere from 30-50% of your email opens may be happening in a dark mode environment — a significant audience that may be experiencing a broken version of your carefully designed emails.

Unlike dark mode on websites, where you can use CSS custom properties and prefers-color-scheme media queries with full browser support, email dark mode is significantly more complex. Each email client handles it differently, some automatically invert colors you didn't intend to invert, and the degree of control available varies widely. Understanding those differences is the first step to designing emails that look intentional and on-brand in any mode.

How Different Email Clients Handle Dark Mode ve Email Dark Mode

Dark mode behavior in email clients falls into three categories — and knowing which clients do what determines your design strategy.

Full dark mode transformation (auto-inversion). Apple Mail on macOS and iOS in dark mode applies a full color inversion to emails by default. Light backgrounds become dark, dark text becomes light — automatically. This happens regardless of whether your email was designed for dark mode. The transformation often works reasonably well but can cause unexpected results for elements with colored backgrounds, logo images with opaque backgrounds, or carefully chosen brand colors that don't translate well when inverted.

Partial inversion. Gmail on Android and iOS applies a partial dark mode transformation. It adjusts backgrounds and text colors but tries to preserve designed colors in some cases. The result is inconsistent — Gmail may darken your light gray background while leaving a brand-colored section untouched, creating a patchwork appearance that looks accidental.

No transformation. Outlook on Windows typically does not transform email colors for dark mode, instead displaying your light-mode email as-is against Outlook's dark UI. This means your email shows a white or light background inside a dark application interface, which can be jarring but at least preserves your original design intent.

Full dark mode support with CSS control. Apple Mail supports the prefers-color-scheme CSS media query, giving you full programmatic control over how your email looks in dark mode. You can explicitly define alternative colors for dark mode environments, preventing auto-inversion and ensuring your email looks exactly as intended.

Using the prefers-color-scheme Media Query

The prefers-color-scheme CSS media query is the technical foundation of intentional email dark mode design. It allows you to specify alternative styles that apply only when the user's system is in dark mode.

Here's the basic implementation pattern:

/* Default (light mode) styles */ body, .email-wrapper { background-color: #ffffff; } .email-text { color: #333333; } .cta-button { background-color: #0066cc; color: #ffffff; } /* Dark mode overrides */ @media (prefers-color-scheme: dark) { body, .email-wrapper { background-color: #1a1a1a !important; } .email-text { color: #e8e8e8 !important; } .logo-container { background-color: #1a1a1a !important; } }

This tells Apple Mail (the client with full support): when in dark mode, apply a dark background, lighten the text color, and adjust the logo container background to match the dark background.

For email clients that support this query, your dark mode experience is now intentionally designed rather than algorithmically inverted. For clients that don't support the query (Outlook, older Gmail), your light mode design continues to display as originally intended.

The critical thing to remember: the prefers-color-scheme media query in email only works in clients that support it — currently limited primarily to Apple Mail. For other clients, you're relying on the client's own transformation algorithm. Your job is to design your light mode email to transform gracefully in those environments.

Designing Emails That Transform Gracefully

Even without full programmatic control over dark mode rendering, there are design choices that make auto-inversion transform more gracefully.

Use transparent backgrounds for logos. Logo images with white opaque backgrounds become starkly white boxes on dark backgrounds when auto-inverted. Export your logo in PNG format with a transparent background. In true dark mode auto-inversion, a transparent background logo will appear naturally against the inverted background rather than creating a disruptive light box.

Avoid hard-coded white backgrounds in nested elements. An email with a white background that auto-inverts to dark looks fine — the whole email shifts consistently. But if inner content blocks have explicit white backgrounds set in HTML attributes (bgcolor="#ffffff"), those elements may not invert, creating white boxes surrounded by inverted dark content. Use CSS rather than HTML attributes for background colors where possible, as CSS is more reliably transformed.

Test brand colors in inverted form. Before finalizing your email design, check what your brand colors look like when color-inverted (in most operating systems, you can preview inversion in accessibility settings). If your primary CTA button color becomes an unreadable or ugly shade when inverted, consider whether your dark mode CSS override needs to specifically address that element.

Choose text colors carefully. Very dark text on white (like #1a1a1a on #ffffff) inverts cleanly to near-white on near-black. Mid-range grays — like #888888 — invert to a similar gray that may have insufficient contrast on a dark background. Use high-contrast combinations in light mode that continue to meet contrast requirements when inverted.

Avoid pure black backgrounds by default. Pure black (#000000) inverts to pure white (#ffffff), which creates harsh contrast in both directions. Using near-black (#1a1a1a) in dark mode overrides and near-white (#f5f5f5) as your light mode background creates a gentler inversion.

Testing and Previewing Dark Mode Emails

Testing email dark mode rendering requires access to the specific clients in which dark mode behaves differently. Here's how to test across the main environments:

Apple Mail testing. Open System Preferences > General > Appearance > Dark on macOS, then open your test email in Mail. Alternatively, on iOS, go to Settings > Display & Brightness > Dark. Apple Mail applies dark mode immediately, and since it has the strongest auto-inversion behavior, this is the most important environment to test.

Gmail on Android testing. Enable dark mode in Android Settings, then open the Gmail app and view your test email. Note that Gmail's partial inversion may treat different elements differently — test specifically to understand how your template is being transformed.

Outlook on Windows testing. Enable Windows dark mode or Outlook's own dark mode setting in Outlook preferences. Outlook's behavior is distinctive — it typically shows your email with its original light background inside the dark Outlook interface rather than inverting the email itself.

Using email preview tools. Litmus and Email on Acid both offer dark mode previews across Apple Mail, Gmail, and Outlook. These tools significantly accelerate the testing process by showing all client renderings side by side without requiring multiple physical devices.

Build a dark mode test email. Create a dedicated test version of your template specifically to diagnose dark mode issues. Send it to test accounts across clients and compare the results against your light mode intent.

Practical Dark Mode Design Checklist

Building this checklist into your pre-send workflow ensures dark mode issues don't slip through:

Logo transparency: Is your logo exported as a PNG with transparent background? Brand colors: Have you tested how your primary and secondary brand colors appear when auto-inverted? Background colors: Are all background colors set in CSS rather than HTML attributes? prefers-color-scheme: Have you implemented CSS overrides for Apple Mail's dark mode? Text contrast: Does your email remain readable if Gmail applies its partial inversion? CTA buttons: Do your CTA buttons remain visually prominent in both light and dark mode? Images: Do any images contain white backgrounds that will create disruptive boxes in dark mode?

Futureproofing for Evolving Dark Mode Support

Dark mode email support is an evolving landscape. Gmail expanded its dark mode handling in 2023, and Microsoft continues to refine Outlook's transformation behavior. Design choices you make today may behave differently as client updates roll out.

The most sustainable approach is to focus on two things: first, implementing prefers-color-scheme CSS overrides for the clients that support it (primarily Apple Mail) to deliver the best possible dark mode experience where you have control; second, designing your light mode email with auto-inversion resilience — transparent logos, high-contrast colors, CSS-based backgrounds — so that clients that auto-invert produce acceptable results.

At Blakfy, we recommend reviewing your dark mode rendering annually as major email clients release updates, and after any significant template redesign. Dark mode optimization is a maintenance practice, not a one-time fix.

Frequently Asked Questions

What percentage of subscribers actually use dark mode?

Estimates vary by study and audience, but research consistently shows 30-50% of email opens happening in dark mode environments — with the figure higher for audiences that use Apple Mail (where dark mode adoption is highest). Rather than treating dark mode as an edge case, design for it as a primary use case alongside light mode.

Do I need to build separate light and dark mode email templates?

Not separate templates — just a single responsive template with prefers-color-scheme media query overrides built in. In the email clients that support these overrides (primarily Apple Mail), subscribers get a tailored dark mode experience. In clients that don't support them, they get either your light mode design or the client's own transformation.

My email has a dark background by design — do I need to worry about dark mode?

Yes, but for different reasons. If your email uses a dark background by design and a user's client tries to "help" by inverting it to a light background, you'll lose your intended design. Using prefers-color-scheme overrides to explicitly preserve your dark background in dark mode environments prevents this unwanted transformation. Always test branded dark-background emails in Apple Mail's dark mode before sending.

Related Posts

See All
bottom of page