A sebaceous cyst is a dome-shaped lump with a smooth surface. It typically measures 1 to 5 centimeters. The cyst is usually white or the same color as the skin. These cysts can become irritated by clothes rubbing against them or by shaving. They may become bright red, swollen, and painful if infected.