I will explain how photoreceptor adaptation, emerging from the simple rules of stochasticity and numbers, lead to invariant representation of naturalistic contrasts. I will also present exciting data from China, which shows how the primate cortex encodes colour information.