THE 4-BOX ROTATION Edit
In a 4-box pattern, you can get 3 possible colors : Outside : the top color and the 2 colors facing "outside" the 4 box-pattern.
Inside : the bottom color and the 2 colors facing "inside" the 4 box-pattern.
THE 4-BOX REPETITION Edit
Every 4 straight moves you make, you'll get the EXACT same configuration of the Kube than it was 4 moves earlier.
In a 6-box pattern, there are 2 possible configurations for each color.
For example : pink and yellow / cyan. Yellow is at the opposite side of the Kube.
To change from yellow to cyan, you have to make the following patterns :