# Image Lightness

Fade an image towards white, or darken it towards black, by adding `lightness` to its URL. Try it in the demo below.

Try it

![Original image](https://demo.sirv.com/oman.jpg?w=800)![Image with the options applied](https://demo.sirv.com/oman.jpg?w=800&lightness=30)OriginalWith options

Lightness30

https://demo.sirv.com/oman.jpg**?lightness=30**

[](https://demo.sirv.com/oman.jpg?lightness=30)

Using an AI coding agent?

Install the [`sirv-dynamic-imaging`](https://www.skills.sh/sirv/image-optimization-skill/sirv-dynamic-imaging) skill, and your agent can build these image URLs for you. Ask in plain words, such as “Serve our product photos as 800px WebP.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

`lightness` is set on a scale from -100 to 100. The lightness adjusts the lightness (white) or darkness (black) of the image.

`https://demo.sirv.com/trek.jpg?lightness=20`

  
![Lighter image (20)](https://demo.sirv.com/trek.jpg?lightness=20)  

`https://demo.sirv.com/trek.jpg?lightness=-20`

  
![Darker image (-20)](https://demo.sirv.com/trek.jpg?lightness=-20)

Small changes, between -20 and 20, are usually enough to lighten or darken a photo.
