ChangeSpriteColor(int,string)
The String is passed in the format "FFFFFFFF" First 6 Characters are the RGB Channel in groupings of 2, 00-FF followed by the last 2 characters which is the alpha channel.
function ChangeSpriteColor(SpriteID,Color$)
red = val(MID(Color$,1,2),16)
green = val(MID(Color$,3,2),16)
blue = val(MID(Color$,5,2),16)
alpha = val(MID(Color$,7,2),16)
SetSpriteColor( SpriteID, red, green, blue, alpha )
endfunction
Then you can call the function with the SpriteID, followed by the Hexvalue of the color which is easier to find from a color chart
or color picker. Of course if you want to set transparency to something different than say full opaque you may have to break out a calculator to handle it. There is no error checking in this at the moment.