For perfect hard-boiled eggs, start heating a few eggs completely covered in cold water in a saucepan. Just before the water boils, turn off the heat and cover the pan. Wait until the water is cool enough to touch, about 17 minutes. Voila! Those eggs will have even, perfect pale-yellow yolks without that gross green ring around them. You can keep the eggs in fridge for a few weeks or use them immediately.