So I want to make a game where you have to stand on the correct color to survive. Is there a way to make certain selected blocks within an area disappear?
Yes. You can do this using the fill command, more information here.
You would want to do something like this:
/fill <from: x y z> <to: x y z> <block> <blockdata> replace <block to replace>