Changed decimal to HEX color conversion to use bitwise operators.