So, for example, if you're in the lower octave, the left button is black, and when you click on the right button (white), the piano shifts to the upper octave and that button turns black while the left one turns white.