Tidy up walls when moving out of a rented room
You can seal the raw drywall facing paper with wall primer, then skim it with joint compound or spackle using a taping knife. Let it dry and lightly sand it gently with a block. 

To fix the paint you'll probably need to paint entire walls. It's unlikely that you'll get a match of color and sheen that won't be noticeable, even if you feather and blend it well. You can probably find a suitable match using the hundreds of paint chips available at most paint stores. Bring a few home and compare in the room's natural light. Slight changes in color are often undetectable at corners, where the light dramatically changes the hue anyway.