color conversion and made color.alpha override opacity flag. closes #2