

If it already has a class applied, use that, or find some other way to target the element.

Remember that Outlook won’t respect multiple classes on elements, so make sure it’s the only class on your element. Here I want to make sure my text stays white in Dark Mode emails, so I’m using. In this case, I’m fixing a paragraph of text that I want to keep white.Īdd a class to the code you want to fix. In Dark Mode it is discarded and Outlook inverts the fallback color How to Implement the MSO Gradient Solutionįirstly, identify the code you need to fix. The gradient will be visible over the top of the text color in Light Mode.

But once we figure that out, we can have complete control over our text’s appearance in both modes. This means we do need to get a bit tricky and ensure we choose a fallback color that will turn into the color we want in Outlook 365 Dark Mode. Outlook will then treat the fallback color according to its Dark Mode algorithm, by darkening or inverting it as it would any normal text color. In Dark Mode in Outlook, the gradient is stripped away, revealing the fallback color that is set on your text. If we create a “gradient” that is made up of a single color, we can apply that to our text, and it will be displayed in Light Mode. This is unfortunate if you want to use an actual gradient of multiple colors, but it’s great news for fixing text problems in Dark Mode emails since it provides us with a way to control Light Mode and Dark Mode separately. These gradients also render in Outlook, which is great, but they get stripped away in Dark Mode.

If you’ve used Word, you’ll know you can style your text in lots of different ways, one of which is by adding a gradient. The Microsoft Word rendering engine is what powers email rendering in Microsoft Outlook. Solution: Apply a Microsoft Text Gradient to Your Text And whilst most users can still read it, it’s not the effect you’re going for. However in Outlook Dark Mode emails, with colors switched, even though the header background is barely being adjusted the text is turning almost black. The body has dark text on much paler green. Let’s say you have a medium green area with some large white text on it like this.
