That is a good idea. We took a paint scraping from the wall of a room and had it matched. There were areas on wall with no paint. We painted the bare areas thinking we would need to repaint whole wall.the mixed paint matched so well you could not see difference. Good technology.
John