AenBBelieve it or not, square A and B are of the same color…

Check this page to see it proven (click the image), or check the page of the author for an explanation.