Gym badges appear darker to show that they're dirty. If you'd like them to shine, simply rub a badge with your stylus for a little while, and it'll brighten up until it gleams.