Gray shapes indicate that the piece has another piece on top of it or it does not have a free side allowing it able to be available to play.

To clear up gray pieces, focus on trying to clear the colored shapes above and around them.