Answer by
adio (14)
To select the circles, use de selection tool, right click – Layer via Cut. Don't be surprised if you've got a lot of layers we will group them afterwards. Select all the layers with the same coloured dots and merge each colour layer together, you have one layer for each colour;