In Photoshop, you can change the color of a line by selecting the line with the Pen Tool or the Line Tool, then selecting the Paint Bucket Tool or the Brush Tool, and choosing the desired color from the Color Picker. Alternatively, you can adjust the color directly in the Line Tool's options panel.