Changed ColorToHex to just use string.format instead of useless number to hexstring to number to hexstring conversion.