TiAlN based nanophotonic coatings show almost complete absorption (≥95%) of light and robust stability in adverse environments. Their simple fabrication process, wideband ultrahigh absorption and superb stability enable their widespread application in optoelectronic industry.