Image Opacity
Short answer
Add opacity to a PNG image URL to make it partly transparent, for example ?opacity=50 for 50%. The scale runs from 0 to 100, and the default is 100, fully solid. Sirv often serves PNG images as WebP, which keeps the transparency at a much smaller file size.
After reading this you will know
- How to make a PNG image partly transparent from its URL
- Which values to use, and what the default is
Make a PNG image see-through by adding opacity to its URL, from 0 (invisible) to 100 (the default, fully solid). Try it in the demo below.
Sirv predicts the most optimal format when serving images, so PNG images are often served in WebP format, at much smaller file size. This helps achieve the best possible image optimization.
Apply opacity to a PNG image like so:
https://demo.sirv.com/website/sirv-logo-small.png?opacity=50

Change the opacity value to make the image more or less transparent.


