The color of stool can be influenced by factors such as food consumption, medications, supplements, and bile obstruction. Changes in stool color can indicate various health conditions.