how to filter surfaces by color?

I need to calculate the surface area of the model by its color. This will be use for painting purposes.

SolidworksParts And Features