Answer to the riddle is A chalkboard. It is black when it’s clean and white when it’s dirty.