RGBA support on IE Internet Explorer via ARGB

IE does not have very good support for color background transparencies. This is the workaround:

<!--[if IE]>

   <style type="text/css">

   .mybackgrounddiv {
       background:transparent;
       filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000050,endColorstr=#99000050);
       zoom: 1;
    } 

    </style>

<![endif]-->

Use this RGBA -> ARGB converter: http://kimili.com/journal/rgba-hsla-css-generator-for-internet-explorer
put in your rgba value, and it will generate IE ARGB code, which you can copy and paste. Remember to use the conditional IF IE statement to insert this into your html document, instead of dropping it in your CSS stylesheet. If IE needs to be separate.

For ex: rgba(173,193,63,0.7) converts to -> #B2ADC13F

About Steven Chu


Hi, I'm Steven! I'm an entrepreneur, photographer and art director in New York. Follow this blog for self expression, fun, and most importantly: looking comfortable, at ease, and amazing in your photos no matter who takes them! I dedicate this to my amazing friends who have let me inadvertently turn all of our hangouts and travel photos into a never ending photoshoot of fun. The proof is in the pudding-- our photos rock. My other projects: I'm the founder of InstaTechie.com, a face-to-face tech concierge service for NYC. Book a techie to walk you through something you want to learn! My work focuses on socially engaged art projects which use technology to create access to resources for communities. Visit Steven Chu Studio (stevenchustudio.com) for branding & design work or Steven Chu (stevenchu.com) for photography projects.

Leave a Reply