Its chemical formula is HgO . It has mercury and oxide ions .
Mercury ( II ) oxide , also called mercuric oxide or simply mercury oxide , has a formula of HgO .