How do I repeat a gradient color ramp? I have a gradient on a cube with a color ramp. In the picture below you can see the color ramp is repeated just once. I would like to find a way how to repeat it 5 or 10 times. I could do this on the color ramp it self of course, but I prefer to it with a node setup. 



After repeating the gradient, it should look something like this, a multiple loop of a color ramp.
You can use a Color Ramp node and a Modulo converter node to achieve this result. 

Set up your nodes like this:



And this is the result:



What you are doing is you are making the Color Ramp node tell what color, and then you are mapping it using the Mapping node, and repeating it with the Modulo node. This makes it fully editable, you can change the color ramp, and the resulting texture will repeat endlessly.