Transparent countdown GIF for email

In short

A transparent GIF lets your email's background show behind the digits, but it supports only one transparent color: every pixel is either opaque or invisible. The smoothed edges of the digits stay opaque and show on backgrounds that contrast little with them. Turn on transparency in the Blocks, Flat, Minimal, Rounded, Gradient, Flap or Serif styles.

Updated on · AP Agency

A GIF with a transparent background lets your email's color or image show behind the digits, so the countdown looks like part of the design instead of a box stuck on top. There's one limit worth knowing before you copy the code: in a GIF, every pixel is either opaque or invisible, with nothing in between.

Make your own

The generator is already set up for this page. Change what you need and press Create timer.

Live Preview of a countdown GIF with days, hours, minutes and seconds

Animated GIF. Recalculated every time the email is opened.

Start from
Timer typeRecurring: Starter plan
Duration for each recipient

With your platform's merge tag in the URL (Starter plan), each person gets their own deadline from the first open. Without it, every open shows the full duration.

Repeats
Days of the week

When it reaches zero it starts again, counting to the next date.

StyleYou can try Pro styles here
Free
PRO
UnitsHide days and the hours absorb them
Colors

Smooths the digit edges so they blend into that background.

Background image STARTER

Put a photo or a texture behind the digits. It needs an account on the Starter plan. Create account · See plans

More font and text options

More than 1,500 families from the Starter plan. On that plan the preview loads them from our server; without it, you see Inter.

Size
Label language
Labels
When it reaches zero

Free, no signup. You get the code to paste into your email.

This option is on a paid plan

You can try it in the preview, but to use it in an email you need the plan Starter.

    How transparency works in a GIF

    A GIF stores its colors in a palette of at most 256. The GIF89a specification lets the file mark one of those colors as transparent, and pixels of that color aren't painted. Everything else shows at full strength.

    There's no partial transparency. A soft shadow or a glow that fades into the background can't be stored in a GIF: each pixel has to be either fully visible or not shown at all.

    The edges of the digits

    Digits and labels are drawn with smoothed edges. On an opaque background, the edge blends the digit color with the background color and the letter looks clean. In a transparent GIF, the engine doesn't know what color your email is, so the edges have to be blended with some color at render time.

    Our engine draws on a magenta key color and then makes that exact color transparent. Edge pixels are a mix of the digit and the magenta, not pure magenta, so they stay opaque with a pink or purple tint. We checked this by rendering GIFs with the engine and placing them on white, black and blue backgrounds:

    To pick a digit color, think about the exact background the timer will sit on. Dark digits on a light email, white digits on a dark one, and labels with enough contrast, because they're the first thing to break down.

    If your email has a single solid background color, there's a cleaner option: turn transparency off and set the timer's background to that same color. The edges then blend with the right color and no halo appears. Transparency pays off when the timer sits on top of an image or a gradient.

    Which styles support a transparent background

    flat, minimal, blocks, rounded and gradient are on the free plan; flap and serif are Pro.

    When the timer expires, you can also make it disappear: instead of the expired message, the engine serves a 1 pixel transparent image.

    Dark mode

    Some email clients change the message background when the user picks a dark theme. According to Microsoft, with dark mode in Outlook.com and Outlook on the web the reading pane has a dark background, and the "Turn on the lights" button shows the original formatting. In Mail on the Mac, "Use dark backgrounds for messages" shows messages on a dark background when the system is in dark mode.

    A transparent GIF shows whatever the client paints behind it. If your digits are dark and the client darkens the background, they lose contrast and the colored edges stand out. Microsoft's and Apple's help pages talk about the message background, not images, so we don't know how each client treats the colors inside a GIF.

    That's why the advice is to test:

    1. Send yourself a test and open it in Outlook.com with dark mode on, and in Mail on the Mac with dark backgrounds on.
    2. If the digits are hard to read, raise the label contrast or use a timer with an opaque background, which carries its own color inside the image.
    3. Write the deadline in the email copy too, for anyone who can't read the timer well.

    Before you send

    Look at the timer where it will actually sit, on your template's background and on a phone, where the edges are seen up close. If the timer sits on an image, check that the digits are readable over both the lightest and the darkest part of it.

    If you're pasting it into a specific platform, there are step-by-step guides for Klaviyo, Mailchimp, HubSpot and Shopify Email. And if you want a separate countdown for each recipient, read how the evergreen timer works.

    Common questions

    Can a GIF be partly transparent?

    No. The GIF format marks a single palette color as transparent. Each pixel is either fully visible or not shown at all, with nothing in between.

    Why is there a pink edge around the digits?

    Letter edges are smoothed by blending their color with a magenta key color, which is the one that later becomes transparent. The blended pixels aren't exactly that color, so they stay opaque with a pink or purple tint.

    Which styles support a transparent background?

    The five free styles (Blocks, Flat, Minimal, Rounded and Gradient) and two Pro styles, Flap and Serif. Glass, Ring, Neon and Bold are always opaque: if you turn transparency on, the engine ignores it.

    What color should the digits be?

    Whatever contrasts most with your email's background: dark digits on a light email and white digits on a dark one. Check the label color too, since labels are small and show the edge more.

    How does it look in dark mode?

    It depends on the client. Outlook.com and Apple Mail on the Mac can show the message on a dark background, and a transparent GIF lets that background show behind your digits. Test in both before you send.

    Is it free?

    Yes. Transparent backgrounds work in all five styles on the free plan.

    Sources

    1. GIF89a: palette of up to 256 colors; the Graphic Control Extension sets a single transparent index; disposal methods. w3.org, accessed on
    2. Transparency uses a magenta key color (255,0,255) as the transparent index; the pink antialiasing edge against magenta is kept on purpose; transparent is ignored when the style doesn't support it; Glass, Ring, Neon and Bold are opaque. Kauntodaun technical documentation, accessed on
    3. supportsTransparent is true for the base styles and PremiumStyle (Flap, Serif) and false for Glass, Ring, Neon and Bold; with transparency on, Blocks, Rounded and Gradient cells use a fixed color (40,40,60) and Flap cells (24,24,30). Kauntodaun technical documentation, accessed on
    4. Free styles Blocks, Flat, Minimal, Rounded and Gradient; Pro styles Glass, Flap, Ring, Neon, Serif and Bold. Kauntodaun technical documentation, accessed on
    5. With dark mode in Outlook.com and Outlook on the web, the reading pane has a dark background; Turn on the lights shows the message's original formatting; the page doesn't mention images. support.microsoft.com, accessed on
    6. Mail on Mac: Use dark backgrounds for messages shows messages with a dark background; View > Message > Show with Light Background. support.apple.com, accessed on
    7. On expiry, the timer can show a message or a 1 px transparent image. Kauntodaun technical documentation, accessed on
    Code copied