This coloring is
unfortunately impossible.
Here is the proof. It relies on
- a local forcing rule, together with
- an exhaustive computational separation argument.
The local forcing rule is the following: in any 2×2 block, if the top-right and bottom-left cells are different, then the bottom-right cell is forced to equal the top-left cell. The reason is that the bottom-right cell must differ from both its top and left neighbors; if those two neighbors already have different colors, then only one color remains.
Because the boundary colors are fixed by the OP, this forcing severely restricts the last interior row. In fact, Row 10 has exactly 10 admissible patterns that avoid clashing with the bottom and side borders:
BGRGRBRGRB, BGRGRBRBRB, BGRGRBGBRB, BGRBRBRGRB, BGRBRBRBRB
BGRBRBGBRB, BGRBGRGBRB, BGRBGBRGRB, BGRBGBRBRB, BGRBGBGBRB
Finally, I wrote a complete computer check to confirm the impossibility by testing where the top and bottom halves of the grid could meet. The search treats each interior row as a length-10 word in {R, G, B} with no repeated adjacent colors. Boundary restrictions eliminate rows that clash with the fixed edge colors, and vertical compatibility is enforced by requiring neighboring rows to differ in every column.
The program then computes, exhaustively:
- the set
T of all Row 9 patterns that can be extended upward to the top boundary;
- the set
B of all Row 9 patterns that can be extended downward to the bottom boundary, starting from the restricted Row 10 patterns.
In the end, it finds that T ∩ B = ∅. Since these two sets are disjoint, no possible Row 9 can fit both the top half and the bottom half of the grid. Therefore, the upper and lower parts can never be joined, and
no full coloring exists.
so
I would not try to solve it manually.