The calibration of the RGB Tip as a Standard Candle. Extension to Near Infrared colors and higher metallicity