Search code examples
htmlcssbackground-colorargb

ARGB Hex color not working in css html


Why is this ARGB hex not working?

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

Solution

  • 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)).