select and change color photoshop,How do I change the color of the outline of a shape in Photoshop?

How to change the color of a shape in Photoshop

Outline is perhaps something that we call stroke.

There are multiple ways what depend on type of layer.

If you have shape layer with vector data then use stroke from Properties panel with shape layer selected.

If you have Pixel based layer then use stroke layer effect which you can acess from layer style dialogue.