Home Resources Blog

Good news – this issue in Gmail has now been fixed.

In recent weeks, a couple of our customers have contacted us to report that links in their email campaigns have suddenly reverted to a default blue color in Gmail. Upon discussion with these customers and a little testing on our part, we found that any link with either style="color: #000000;" or a { color: black; } applied was having the color CSS property stripped from their code – therefore allowing Gmail’s default stylesheet to go to town with their design.

While it’s annoying that Gmail should make this rather arbitrary change, thankfully there’s an easy fix. Cool customers Wilbert Heinen and Benjamin Kinzer both came up with the same solution – use a link color that’s black, but not quite black. For example:


Alternately, you can use color: #000000 !important;, which oddly enough, doesn’t get stripped out of the code.

In wondering what Gmail holds against the color black, we turned to Spinal Tap for answers:

When it comes to links in Gmail, anchor links can be ‘none, none more black’.

Thanks to Wilbert and Ben for these fixes to a rather kooky new email rendering issue. If you see any further changes in Gmail, be sure to get in touch with us.

  • Jacques

    You’re a bit late to the party!


  • Ros Hodgekiss

    Haha, but first to blog it, Jacques! ;) Yes, we’re well late to the party, sorry about that – thanks for pulling me up by the bootstraps there :D

  • Ed Melly

    Isn’t it the case that Outlook ignores inline styles with an !important declaration? So safest to stick with just off black.

  • Joi Brooks

    I’ve been doing this for a long while. My concern is Gmail turning phone numbers to blue! Has anyone tried to use font tags for phone numbers with important declaration? I’ll give it a spin…

  • Ros Hodgekiss

    @Ed Melly – That’s interesting, I’ll check that out – thanks for the tip! Agree, off-black is a safer option, either way.

    @Joi – There’s a fix to Gmail turning phone numbers blue in this blog post. Let us know how you go using !important, though :)

  • Adrian Ragucos

    I remember having to do something similar for white text: style=”color:#fefefe;”. I actually still do it now – it doesn’t hurt if I do it or not.

    Something about having a Spam Assassin rule with a major score for white text, I think as a text-hiding technique for spammers…

  • Ηλεκτρονικο τσιÎ

    Nice article guys :P And yes Ros you came a little late :D

  • Justine Jordan

    Hey Ros, thanks for this post! It was something we were looking into as well. The folks over at Pure360 also found that including a color to the anchor’s parent tag would do the trick (strangely enough, it doesn’t have to be the color you want the link to be)


  • David Padilla

    Yahoo web mail also changes css/html coding in email.
    Example: I had an opening headline that read “Welcome to website.com!”
    My css called for a bold, white font on a dark blue background. Yahoo automatically turned ‘website.com‘ into a blue text hyperlink even though I did not want it to be clickable text. The blue text was hard to read against the dark blue background. The only way around it was to make ‘website.com‘ an image.

  • Mark Eagleton

    Now the answer to how much more black could this be is one. One more black.

  • Purchase Digital / email marke

    @Adrian I believe the Spam Assassin rule is white text on white background, not merely the use of white text? Anyone willing to correct/clarify?

  • Justin White

    Another way that is fairly failsafe is wrapping the text in the anchor in a font tag with the black colour as well as any other styles eg text decoration etc. I’ve been doing this by default as even if you set the anchor colour on the tag itself the underline renders as blue in Outlook.

  • Mendel

    btw, in my testing the same problem is with white or #ffffff (like on a dark background).

  • Mendel

    Can someone find a cute video for why white is no good too?… :D

  • Mary

    Thanks for the tip!

  • ted@tedgoas.com

    I don’t know what all this talk of Ros / CM being late… this was the first answer I saw!

    Is anyone having this issue with WHITE links in Gmail? My &#123color: #ffffff !important;&#125 is being rendered as the default browser blue in Gmail today. I even tried the trick above, substituting #fffff1 for straight up white.

  • Nat

    I’m seeing the same issue with my links, although the default link color is a yellow #FFD801. I’ve tried adding an inline ” style=”color:#FFD801 !important;” ” tag, but it still shows up as blue in Gmail.

    I’m only seeing this problem in the content areas of my emails. So the links in the HTML of my template display the correct yellow color, but the main content has the color stripped and turned to blue. Has anyone else seen this problem?

  • Ros Hodgekiss

    Hi Ted and Nat, I tried to reproduce this issue on my end, with no luck (ie. white links were white). If you have a mo’, could you kindly email campaign details to support [at] campaignmonitor.com? Really keen to work out why this is happening for you. Thanks for writing in! :D

  • zonk

    Thx for sharing this

  • MCPat

    Today I ran into this same issue for #FF9900. I tried changing to #FF9901, tried putting the style: color in the TD element too. It doesn’t work with that color. Still keeps those links blue. I then put a inside the tag and added the color there. Still no dice. x0ax0aAny thoughts?

This blog provides general information and discussion about email marketing and related subjects. The content provided in this blog ("Content”), should not be construed as and is not intended to constitute financial, legal or tax advice. You should seek the advice of professionals prior to acting upon any information contained in the Content. All Content is provided strictly “as is” and we make no warranty or representation of any kind regarding the Content.
Straight to your inbox

Get the best email and digital marketing content delivered.

Join 250,000 in-the-know marketers and get the latest marketing tips, tactics, and news right in your inbox.


See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free