Not entirely. Whitening toothpastes will reverse the effects of some surface stains, but not change the shade of the teeth themselves. The change is usually minimal.
Some whitening toothpastes are very harsh on gums, so if you are experiencing peeling gums, discontinue use of these products.