Reconstructing contextual colors