PNG is a lossless raster image format for web graphics. It supports indexed, grayscale, and truecolor images, including alpha transparency, making it a strong fit for illustrations, logos, and icons with mostly solid colors. section 6.17 section 6.2
Choose PNG when:
- Your graphic needs transparency, such as a logo or icon placed over a page background. section 6.17
- A simple image can use 8-bit color, limited to 256 colors, for a smaller file. section 6.13
- A more complex graphic needs the full 24-bit palette; optimization tools can still reduce its file size. section 6.13
A web-ready logo
Save a simple logo as <code>atomic-logo.png</code>, then place it on a page with <code><img src="atomic-logo.png" alt="Atomic logo"></code>. A transparent background lets the page show through around the artwork. section 6.2 section 6.17

