Skip to content

Image Lightness

By , Customer Success DirectorUpdated

Open this page in a new chat

Short answer

Add lightness to the image URL to make it lighter, towards white, or darker, towards black, for example ?lightness=20 or ?lightness=-20. The scale runs from -100 to 100. Sirv creates the adjusted image instantly from your original, so the file in your account stays unchanged.

After reading this you will know

  • How to change the lightness of an image from its URL
  • Which values make an image lighter or darker

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 imageImage with the options appliedOriginalWith options
30
https://demo.sirv.com/oman.jpg?lightness=30

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


Darker image (-20)

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

Back to top