It has to do with the way your brain processes everything you see, called color constancy.
它与你的大脑处理你所看到的一切的方式有关,称为颜色恒常性。
英语百科
Color constancy
Color constancy is an example of subjective constancy and a feature of the human color perception system which ensures that the perceived color of objects remains relatively constant under varying illumination conditions. A green apple for instance looks green to us at midday, when the main illumination is white sunlight, and also at sunset, when the main illumination is red. This helps us identify objects.