fix up color conversion, as well as not using the blue value for the alpha value