Hey there I need some help with another problem

Every point in the plane is colored either red green blue or yellow. Prove that there exists a rectangle in the plane such that all 4 of its vertices are the same color.

so far I know that the color repeats after the 5th point but I'm not sure how to use this to progress the problem further. Hope someone can guide me through this problem so I understand how to do it.