Multi geometry interaction

I have a new problem.
How to set color for each geometry?