I want to change the color attribute that is returned in jQuery. So let's assume that the color is returned and contained in
var color
color = 'rgb(148, 141, 124)'
I want to change the color value:
color = 'rgb(148, 141, 124, .7)'
(in other words, insert the string ", .7")
source
share