Change constants to hex representation