Effect of Ni content on CrNiN coatings prepared by RF magnetron sputtering