CS 0 Unsubscribe Flag as spam Edit Delete Fixing VML button background colors for Dark Mode (Wilbert Heinen) Shared by Carin Slater, 2022-12-03 21:39:44. Tagged: Hack, Outlook Copy to Clipboard Save to Design Library Snippet Trigger View Design Library Please enter a valid trigger The text that, when typed and followed by a tab will trigger the insertion of the snippet code. Added to your Design Library. Go to Design Library. Copied to Clipboard Your snippet is out of date. Update snippet <!--Dark Mode fix for VML buttons - use rbga as the color value in the <a> or else Outlook picks up on the background color and inverts it. Outlook doesn't support rbga values and ignores it leaving the VML color to come through. Wilbert Heinen - https://twitter.com/wilbertheinen/status/1405795916196495361?s=20&t=giNcZVNC3_IyL972-BmWGg--> <div><!--[if mso]> <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://" style="height:50px;v-text-anchor:middle;width:170px;" arcsize="10%" stroke="f" fillcolor="#1F7F4C"> <w:anchorlock/> <center> <![endif]--> <a href="http://litmus.com" style="background-color:rgba(31, 127, 76,1);border-radius:5px;color:#ffffff;display:inline-block;font-size: 18px; font-family: Helvetica, Arial, sans-serif;font-weight:bold;line-height:50px;text-align:center;text-decoration:none;width:170px;-webkit-text-size-adjust:none;">I am a button →</a> <!--[if mso]> </center> </v:roundrect> <![endif]--></div>