Turn Over

There is a board that one side is colored red and the another side is blue.
When the space around is clicked,the board's rows and columns are turned over.
Set the colors to patterns as shown.


SOURCE