Guide · 5 min read

Why your signature image disappears in dark mode, and how to fix it.

You add a neat transparent signature to your emails, then see one on a phone at night: your name is gone, or a white box glows where it should be. Dark mode changes the background behind your signature but usually leaves the image itself alone. Here is what each email app does, and four ways to make one signature image work on both light and dark.

By · Updated

Why it happens

In dark mode, an email app repaints the message: white backgrounds become dark gray or black, and dark text becomes light. Images are mostly left as they are, because inverting a photograph would ruin it.

A transparent PNG or GIF has no background of its own; it shows whatever is behind it. Black ink on a transparent background was readable on white and is now black on near-black. The opposite failure comes from an image with a solid white background: the ink is fine, but it now sits in a bright rectangle in the middle of a dark message.

What the main email apps do

  • Apple Mail on iPhone, iPad and Mac darkens the message background for plain emails and leaves images untouched.
  • The Gmail apps on iPhone and Android recolor backgrounds and text, sometimes aggressively, and leave images untouched.
  • Outlook, on Windows, Mac, the web and phones, darkens backgrounds and lightens text, and leaves images untouched.
  • Webmail in a browser follows the mail service’s own theme setting rather than the computer’s.

Behavior shifts between versions, and you can’t know which app or mode each recipient uses. The dependable approach is an image that reads on both light and dark, so it doesn’t matter.

Fix 1: Give the image its own background

The most reliable fix is to stop relying on the background. Export the signature on a solid light color, slightly off-white rather than pure white, with a little padding and, if you can, rounded corners. In light mode it nearly disappears into the page; in dark mode it reads as a small, deliberate card, like a note on paper.

In Everstroke, the Ink on Paper look does this for the animated file: dark ink on a warm paper color, exported as the standard (not transparent) GIF. The PNG is transparent unless you pick a background color in the canvas settings, so pick one for this.

Fix 2: Use an ink color that works on both

Keep the image transparent, but choose an ink that contrasts with white and with near-black. Pure black and pure white each fail on one side; a mid-tone passes on both. Medium blues, teals and warm grays around the middle of the brightness range are the usual picks. Classic blue ballpoint ink is close to ideal, which is a nice coincidence for a signature.

The contrast is lower on both sides than black-on-white, so make the line a little heavier than you otherwise would.

Fix 3: Add a light outline or glow to dark ink

A dark signature with a thin light edge around it stays visible on a dark background, because the edge separates it from the page, and the edge is invisible on white. A soft pale glow does the same job more gently. This needs smooth transparency, so it works in a PNG; in a GIF, whose transparency is all-or-nothing, a glow turns into a hard fringe. Use this fix for a still signature rather than an animated one.

Fix 4: Two versions, swapped by the email itself

Hand-coded HTML emails can include both a dark and a light image and show one or the other with a prefers-color-scheme media query. Apple Mail honors it. Gmail and most Outlook versions do not, and the signature editors in Gmail and Outlook don’t let you add CSS at all. It is an option for newsletters built from HTML templates, with one of the other fixes as the fallback.

For an animated GIF signature

Everything above applies to a GIF signature, with one addition. A transparent GIF has a hard edge that is blended toward a single matte color when it is made: toward white if it is meant for light backgrounds. On a dark background that leftover edge shows as a pale fringe around the ink. So for email that will be read in both modes, the standard GIF with its own background (fix 1) is the better choice than the transparent one, and the transparent GIF is best kept for templates whose background color you control.

How to test it

  1. Send yourself an email with the signature.
  2. Open it on a phone and switch the phone between light and dark appearance.
  3. Open it in Gmail and Outlook on the web, and switch each one’s theme to dark in its settings.
  4. Look at the edges of the image as well as the ink: a fringe or a box is easier to miss than a missing name.

Questions

Frequently asked questions

Why is my email signature logo invisible in dark mode?

The image has dark ink on a transparent background. Dark mode makes the background behind it dark and leaves the image unchanged, so dark ink ends up on a dark page.

Do email apps invert images in dark mode?

As a rule, no. Gmail, Outlook and Apple Mail recolor backgrounds and text and leave images as they are, which is why images need to be made to work on both.

Should my email signature image be transparent?

Only if its ink color reads on both white and dark gray, or you control the background it sits on. Otherwise give it a soft off-white background of its own.

What color signature works in both light and dark mode?

A mid-tone such as a medium blue, teal or warm gray. Avoid pure black and pure white on a transparent background.

Why does my GIF signature have a white outline in dark mode?

It is a transparent GIF whose edge was blended for a white background. Use the non-transparent GIF with its own background, or re-export the transparent one matched to a dark background.

Skip the keyframes.

Draw your signature and watch it write itself, free