Levels...
Image > Adjustments > Levels...
Adjust tonal range using input/output levels and histogram
Screenshots
Our Editor

00-current-state.png

01-dialog.png

01-state.png

02-after.png

02-state.png

03-state.png
Photopea

00-new-dialog.png

01-after-new.png

01-dialog.png

02-after.png
Notes
Full LevelsEditor with histogram