I have the following code to get the background color of an element.
var currentColor = $(this).css('background-color');
which returns something like rgb(123,123,123)
What I now want to do convert this to rgba and show it at 0.75 alpha
So returning something like rgba(123,123,123,0.75)
Any ideas?