# Problem of color painting

Each of $6$ points in space is connected to the other $5$ points by line segments.Each segment thus formed is colored greed or purple.Show that it is impossible to color all the segments without forming a triangle in which all three segments are the same color.

My efforts so far:

My initial guess was that this problem is somehow related to the pigeonhole principle,but I've not been able to use it in some usefull way.

I also think that this can be tackled using some combinatorial argument,however using brute force method i see that if we try to place colours such that no triangle of the same colour is formed this becomes impossible at the fifth point.

Finally can someone give some hint to put me on the right track for a proof ?