Colour Layer

Stupid Question sorry, I'm very new to this

How do you select all objects of a specific colour in order to create a layer out of them?

Thank you