Atoms, colours and God in Leibniz