He worked with pigments, allowing the eye to mix the colours. If you look at the painting closely, you see that the colours aren't blended totally, and there's warm colours with cool colours. So, the eye blends the colours together, it’s similar to being an illusion.