Your health bar starts at red and moves through the rainbow. Each time you successfully hit two identical squares, your health bar moves one color closer to red.