How to mask a single color?

Any solution to use only one texture? I have a lots of images :confused: 1000-2000
So i need a solution that can fit on multiple images without much work.