How can I get rid of the rainbow color in a noise texture and cycles

I’m applying a noise texture to my object, the diffuse of the object is sand colored, but after adding a noise texture, it turns to several colors. I want the noise to be only white speckles on the sand. I’m using Cycles, what can I do?

Instead of plugging the color output of the noise texture into your shader directly, plug the texture’s “fac” output into a colorRamp or mixRGB node and use that to define a color range. (with mixRGB you can also plug in a texture or two to shift between, which often looks a lot better than just the raw noise).