select faces or vertices by color

Is it possible to select faces by material color.
I want to change the color for all the faces with a particular color at once.

sorry for the question
solved the problem just had to select the material and change it to another color.