Auto select tool
Use the Auto Select tool to select areas of the same color. If an auto-selection is taking too long to load, press Esc to cancel it.

You can use the different tools depending on which layers you want the tool to refer to when creating the selection area.