ARGB Hex color not working in css html

Obsivus picture Obsivus · May 30, 2012 · Viewed 30.3k times · Source

Why is this ARGB hex not working?

<td style="background-color: #FFFF9980">

Answer

Gareth picture Gareth · May 30, 2012

Use rgba(255,153,128,1.0) instead of your hex value (though if that really is ARGB it's the same as #ff9980 in RGB - if you meant RGBA then you'll need rgba(255,255,153,0.5)).