The colour is arithmetic, not a lookup
A square is light when the file number and the rank add up to an odd number. a1 is dark, h8 is dark, and the whole board follows from that one rule.
Drawing without putting back is on by default, so a run of sixty-four presses visits every square exactly once.