The Select Color Range tool lets you select noncontiguous, similarly-colored areas of an image.
In the Tool Options pane, customize the options for the Select Color Range tool:
Sample All Layers: When Sample All Layers are turned on, it makes the Select Color Range take into account the contents of every layer in your image, not just the selected layer.
Smooth Edges: Select Smooth Edges to naturally smooth the outline of the Select Color Range tool. With Smooth Edges unselected, the selection outline will be a little more precise but jagged.
Click the canvas to pick a color range, or click the color well in the Tool Options pane to choose a specific color.
Drag the Range slider to adjust how many other color values close to your selected color will be included in the selection.
Click Apply to confirm a selection.