Different colors on multiple particles

Hi, I have two particles (hair particles for grass), the second one is a duplicate of the first one, only with slight changes. I would like to have the second particle to have a different color than the first one. I watched a “tutorial” on youtube and in this video he used the color ramp in the texture tab to invert the colors. Both of my particles do have a material and a texture assigned but color ramp doesn’t do anything (except changing the color of the texture but not the color of my grass).