Yes, in fact you can do this :)

Excluding yellow colors would be challenging, as I am not good with hexadecimal color manipulation, but assigning one and same color to all layers is much easier....