Click on your colored piece, then click on a Hex to move it to. When you land beside the other color, it will change to your color. If you do not move your piece directly beside the original piece, your piece will jump instead of creating a new one.