How to colour faces produced by a Boolean modifier
You need to have both materials on the Object with the boolean modifier (but of course only one of those is assigned to that mesh). Here the blue cube (the cube with the boolean modifier) has both materials: the blue and the red material. The red cube only has the red material.