How do i randomize a part material?

I do not know all that much about randomizing, think you could show me an example?