select all layers with fill color
Greetings to all
I want a script that selects all layers with the same color
For example (I have a file with red, black and white layers)
When I select a layer with a red color, I want all layers similar to the same color to be selected
And so on with the rest of the colors in the same way
in this photo select one layer with fill color

with code get this result, select all layers with same fill color
Thank you for your wonderful effort
