How to change the color of the polygons of an object during a collision in Three JS?

Perhaps these examples from the collection will help.

ChangeColorOfFaceByClick
SelectFacesWithinRadius