Added changeHexColor function