Magenta-colored filters filter out, that is, absorb, green light.
Green-colored things reflect green light (which hits our eyes so we see it) and absorb the rest, that is, the "red" and "blue" parts of the spectrum.
Modern plants are green due to a backwards-compatibiity issue, IIRC. The first photoynthetic plants were purple, so as to absorb the most powerful part of the solar spectrum, the green light. But they were anaerobic, that is, did not produce oxygen. When oxygen-producing cells appeared they had to use the "junk" purple light, and ended up reflecting green which they did not see much of anyway. After the Oxygen Catastrophe the purple anaerobic life mostly died off, and green plants have been owning the planet ever since. They mostly did not learn to use the green light (and turn black) even though it's now all theirs.
A filter can block a color by reflecting that color off the front surface (dichroic filter [1]), or by absorbing that color in the filter (absorption filter).
A dichroic filter that passes red and blue (magenta) and reflects green would look green if viewed from the light source side. Looking through the filter, to the source light, you would see magenta light. They're very strange to look at. Here's a video [1] of a blue pass filter which reflects red and green (resulting in yellow).
An absorption filter will be a consistent color regardless, since it's acts as a simple hole for that color to disappear into, via reflected or passed light.
Green-colored things reflect green light (which hits our eyes so we see it) and absorb the rest, that is, the "red" and "blue" parts of the spectrum.
Modern plants are green due to a backwards-compatibiity issue, IIRC. The first photoynthetic plants were purple, so as to absorb the most powerful part of the solar spectrum, the green light. But they were anaerobic, that is, did not produce oxygen. When oxygen-producing cells appeared they had to use the "junk" purple light, and ended up reflecting green which they did not see much of anyway. After the Oxygen Catastrophe the purple anaerobic life mostly died off, and green plants have been owning the planet ever since. They mostly did not learn to use the green light (and turn black) even though it's now all theirs.