Fix arguments to rgba - the colours should be 0-255, the alpha should be 0-1.