He black colour of copper oxide changes to bluish-green

The black colour of copper oxide changes to bluish-green if reacted with dilute hydrochloric acid. Why?