Skip to main content
Solved

Forcing Campaign background - in Dark Mode

  • August 8, 2023
  • 10 replies
  • 4449 views

Hi Everyone!

I have a question about email deliverability for Dark Mode / Dark Screens

I've searched ALL of Klaviyo online + community help, but couldn't find the answer:
Has anyone been able to troubleshoot and overcome the limitation of Klaviyo/email deliverability in dark mode by forcing a campaign to display in a certain background/block colour, regardless of the phone settings?

(yes I read Klaviyo’s best practices articles which is a bit shallow, and also threads suggested like this one.. 

 

Has anyone cracked the code - is there coding in the backend that can be the key to this?

 

We have a specific brand colour, that is neither white nor black, I’m finding the colour inversions very challenging to overcome as a marketeer! Adding a white outline to the black logo makes it look terrible!

 

Thanks for your insights and intelligence!

Best answer by Taylor Tarpley

Hi @Laurie StSoleil

 

Thanks for sharing your question with us and great investigation so far into the plethora of resources the Community can provide!

 

As the thread you’ve linked states, unfortunately we can’t share guarantees to ensure how a campaign will show in an inbox, especially to override individual settings of the inbox, only best practices to optimize how your campaigns can appear in dark mode. 

 

However, I’d love to use the power of the Community and ask some of our industry experts, aka our Community Champions to hear if there are or what other strategies they might utilize to fight against dark mode! @Omar @Spark Bridge Digital LLC @Kylie W @In the Inbox, have any contributions to share? 

 

Thanks for participating in the Community!

-Taylor 

10 replies

Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • Answer
  • August 8, 2023

Hi @Laurie StSoleil

 

Thanks for sharing your question with us and great investigation so far into the plethora of resources the Community can provide!

 

As the thread you’ve linked states, unfortunately we can’t share guarantees to ensure how a campaign will show in an inbox, especially to override individual settings of the inbox, only best practices to optimize how your campaigns can appear in dark mode. 

 

However, I’d love to use the power of the Community and ask some of our industry experts, aka our Community Champions to hear if there are or what other strategies they might utilize to fight against dark mode! @Omar @Spark Bridge Digital LLC @Kylie W @In the Inbox, have any contributions to share? 

 

Thanks for participating in the Community!

-Taylor 


Kylie W
Partner - Silver
Forum|alt.badge.img+34
  • Champion & Partner
  • August 8, 2023

Hi @Laurie StSoleil 

What a fantastic question to post in the community!

While I don’t have any magic answers, the resources you have already reviewed and what @Taylor Tarpley has shared is the best place to start and take advantage of.

Certainly with so many different mail applications to support who interrupt it differently this can be hard to support. My recommendation here would be to review your reporting on your major mail applications used by your customer base and attempt to support their Dark Mode as much as possible. 

I look forward to hearing your outcome and wish you luck!

Kylie


Forum|alt.badge.img+6
  • Active Contributor I
  • August 11, 2023

Use an image of your selected block colour as the section background. 


Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • August 11, 2023

Hi @Laurie StSoleil,

 

This is also helpful documentation too from Litmus!

https://www.litmus.com/blog/the-ultimate-guide-to-dark-mode-for-email-marketers 

 

-Taylor 


  • August 16, 2023

Use an image of your selected block colour as the section background. 

YES! This is what I finally did!!

Thank you!

Klaviyo, please note this works, you should make an article / update the current one as this is a GAME CHANGER for users with dark mode!
@Taylor Tarpley @Kylie W   @Omar @Spark Bridge Digital LLC @Kylie W @In the Inbox 

 

I basically save an image of our background colour, added it in as a Background Image in the Section that contains the whole EDM blocks etc. See attached images! I’m very excited to have found this work-around, please share with the community!

 

Laurie.

 


Jessica eCommerce Badassery
Partner
Forum|alt.badge.img+20

@Laurie StSoleil  I’m late to the party, but I have used images as background colors too. It’s literally the only way because every email provider is different and they don’t all accept the dark mode coding. 

 

I still like to use regular web text vs. adding it to the image, so I make sure both black and white text can be read on the background color I use. 


  • Contributor I
  • December 11, 2023

Hi, I’m currently trying to change the background to an image so that it is the same in dark mode, but I have been having an issue when the email is being opened in the Gmail app. The changes made to the background don’t show up, and so it looks off compared to when the email is being read in light mode. I was wondering if anyone else was having the same issue and knew how to solve it.

Thank you so much!


Forum|alt.badge.img+3
  • Contributor I
  • April 15, 2024

Hey @Seraphina K. , I’m having the same issue as yours as well despite using an image as a background. 

Does anyone have a solution for this? Thanks!


  • Contributor I
  • November 19, 2025

@Musashi ​@Seraphina K. Same. I am using an image as the Section background and it is not changing in Google Mail Mobile. Still white background.


talha.hussain
Problem Solver I
Forum|alt.badge.img+2
  • Problem Solver I
  • November 20, 2025
  • Use a Background Image for Your Section

    • One of the most common workarounds: instead of relying on a background colour, use a small image of your brand colour and set it as a tiled background image in that section. This can preserve your exact brand colour visually.

    • On Klaviyo, users in the community have reported this as the most reliable way. community.klaviyo.com

  • Lock Text Colours Using CSS

    • You can prevent text from inverting by wrapping it in HTML elements with a custom class (e.g., .fixed-text). Then use CSS like:

       

      [data-ogsc] .fixed-text, [data-ogsb] .fixed-text, .fixed-text { color: #YOUR_HEX_COLOR !important; } @media (prefers-color-scheme: dark) { .fixed-text { color: #YOUR_HEX_COLOR !important; } .fixed-bg { background-color: #YOUR_HEX_COLOR !important; } }

    • This was suggested in Klaviyo’s community as a way to keep text stable. community.klaviyo.com

    • The !important helps override some email-client defaults. community.klaviyo.com

    • Use hex codes, not RGB — because some dark-mode clients force-invert RGB colours. community.klaviyo.com

  • Use @media (prefers-color-scheme: dark)

    • For clients that support it, you can define dark-mode-specific CSS. Klaviyo recommends using @media (prefers-color-scheme: dark) to apply styles when a user’s system is in dark mode. Klaviyo Help Centre

    • But note: not all email clients respect this — so it's not 100% reliable everywhere. Klaviyo Help Centre

  • Be Careful with Pure Black / Pure White

    • Avoid using #000000 or #FFFFFF for backgrounds or text — very high contrast colours tend to invert badly. support.stripo.email

    • Use softer tones (e.g. dark grey instead of black) or semi-dark backgrounds. do-digital-marketing.com+1

  • Design Images Thoughtfully

    • Use transparent PNGs for logos / graphics rather than PNGs with fixed backgrounds. This way the logo adapts more easily, and you preserve the background color behind it. support.loopify.com

    • If your logo is dark and you worry it’ll disappear on dark backgrounds, add a light stroke or shadow around it. support.stripo.email

  • Test Extensively

    • Use tools like Litmus or Email on Acid to preview how your email looks in dark mode across different clients. Klaviyo itself recommends testing across multiple devices / email clients. Klaviyo Help Centre

    • Because every email client (Gmail mobile, Outlook, Apple Mail, etc.) handles dark mode differently, there’s no one-size-fits-all. support.stripo.email

  • Consider Redesigning for Dual Themes

    • Sometimes the best long-term solution is to design two versions or design with “dark mode in mind” — pick colours and styles that look good in both modes instead of trying to force one mode.

    • Alternatively, reimagine your templates — maybe your brand colour could be used in a way that doesn’t rely on solid colour blocks that dark mode aggressively inverts.