Hello
Yes, a filter will allow light of its own colour to transmit whilst blocking its opposite colour. So a yellow filter, for example, will transmit yellow but will reduce transmission of blue. A red filter will transmit red, while blocking cyan (blue+green).
F. Duddy