I can't help myself, i see matrices everywhere. Let's try all permutations in 2D. U is combination of 2 collors on diagonal. L is comination of multiple colors. https://m.primal.net/Llzt.jpg