From Latin nigrum. The offensive senses derive from the anglophone usage of Spanish negro.
Practice speaking and memorizing "negro" and many other words and sentences in Italian.