This is my first post, I hope to be as concise as I can

I've got a few small points that I got stuck with and will need your help. I took a look at examples unsuccessfully.
1)
I need to select a color from an image and replace everything else with black.
It's pretty much similar to
convert FILE -fuzz 60% -fill black -opaque green FILEOUT
except that instead of replacing the color, I want to keep it and replace everything else.
2)
Is there a nice way to pixelate ( similarly to mode or median ) by limiting the operation on a given color?
Thanks
Luca