The faces of a cube are colored green, brown, blue, black, yellow, and red. (At the start in the bottom left-hand corner, the bottom color is red.) The cube rolls on its edges from one square to another in the grid, coloring a square according to the color of the face of the cube that lands on it. What is the color of the last square?