Identifications to transform the n=8 triangle to first mod 4 then mod 2

Indentify the colors cooresponding to 0 and 4 and those for 1 and 5, those for 2 and 6 and those for 3 and 7:
Pascal's triangle mod 4 with 50 rows Pascal's triangle mod 8 with 50 rows changing the colors Pascal's triangle mod 8 with 50 rows
Furthur identify the color cooresponding to 0 and 4 with the one for for 2 and 6 and the color for 1 and 5 with the one for 3 and 7:
Pascal's triangle mod 2 with 50 rows Pascal's triangle mod 8 with 50 rows changing the colors Pascal's triangle mod 4 with 50 rows
Look at the whole transition:
Pascal's triangle mod 8 with 50 rows changing the colors