Yes, fresh-cut onion will help to get rid of the toxic paint fumes quite fast. Just leave it around the room overnight.