Q:

Chrome RGBA issue

I'm trying to set background color for an element using jQuery('.element').css('background-color', 'rgba(183, 56, 56, 0.43)'); but calling jQuery('.element').css('background-color'); right after that returns rgba(183, 56, 56, 0.431373) in Chrome 33.0.1750.154 m. It seems to work in Firefox 28.0 though.
Test case: http://jsfiddle.net/y3H3n/
Does anyone know why this happens and how can this be fixed?

A:

0.431373 is, as near as makes no difference, 110/255. Colours are 32-bit, with 8 bits assigned to the Alpha channel. This means that, strictly speaking, it is on a scale from 0 to 255. It's just that, for some reason, we express alpha as a float.

