Skip to contentSkip to the inputSkip to the result

Greyscale, brightness, contrast

Make a photo greyscale or brighter

Loading tool

Instructions

Greyscale, brightness, contrast

How to use

  1. Choose a photo and set colour, brightness and contrast; the preview updates at once.

Supported input

  • JPG, PNG, WebP, GIF and BMP up to 40 MB.
  • Greyscale uses Rec. 709 luminance.
  • Brightness and contrast run from −100 to +100; black and white only has its own threshold.
  • The preview works on a screen-sized copy and the full photo is processed when saved.

Input example

A colour photo

Result example

A greyscale photo

Troubleshooting

  • Unsupported formats and oversized files are refused with a reason.
  • The original file is never changed.

Limitations

  • No white balance, saturation or sharpening.
  • Large photos may take a moment to save.
  • A JPG keeps its date taken and camera details but not its location (GPS).

How it works

  • Turns a photo greyscale and adjusts its brightness and contrast.

What the brightness and contrast sliders do to each pixel, in numbers

When it helps

  • Turning a phone photo of a document, grey from room light, into clean black text on white for printing
  • Lifting a signature off white paper so only the strokes remain
  • Brightening an indoor shot that came out dark before sharing it
  • Previewing a colour photo in greyscale for a black-and-white print or layout

The sums work on values from 0 to 255

Each red, green and blue value runs from 0 (darkest) to 255 (brightest). With the contrast slider at C, the tool takes c = C × 2.55 and a factor of 259 × (c + 255) ÷ (255 × (259 − c)). The new value is factor × (old − 128) + 128, plus brightness × 2.55, clamped to the 0–255 range.

Contrast pushes values away from the middle, 128, in both directions; brightness adds the same amount to everything. The 256 possible results are worked out once as a table and every pixel is looked up in it, which is why the preview keeps up with the slider. In greyscale mode the picture is turned grey first and the table applied afterwards.

Worked example: what the slider values do

  1. 1Contrast +50 gives a factor of about 2.954. A value of 100 becomes 45 and 160 becomes 223, while everything from 171 up clips to 255 and everything from 84 down to 0. Midtones spread far apart and detail in bright skies and deep shadows is gone.
  2. 2Contrast −50 gives about 0.335: 0 becomes 85 and 255 becomes 171, so blacks and whites both drift towards grey and the photo looks hazy.
  3. 3Brightness +20 adds 51 to every value: 0 becomes 51, 200 becomes 251, and everything that was 204 or above ends up as the same 255.
  4. 4At contrast +100 the factor is 129.5, leaving almost pure black and white split at 128. At −100 every pixel becomes the same mid grey, 128.

A feel for the greyscale numbers

Greyscale mixes 21.26% red, 71.52% green and 7.22% blue, the BT.709 weights. Pure red (255, 0, 0) becomes a grey of about 54, pure green about 182 and pure blue about 18. A plain average would make all three 85, which shows why blue skies and blue clothes turn dark in black and white.

The weights are applied directly to the stored, gamma-encoded sRGB values rather than to linear light. That is a simplification, but it is what most photo software does, so the result looks familiar.

A routine for documents and signatures

  • Choose Greyscale and raise contrast to about +20 to +40 to push a grey background towards white.
  • If smudges remain, switch to Black and white only and move the threshold (20–235, starting at 128). Lower it and faint pencil disappears; raise it and background shadows start to print black.
  • The preview is drawn from a copy 1,600 px on its long side, but saving recalculates at full resolution, so small print you zoom into is sharper in the saved file.

What cannot be undone later

  • Areas clipped to 255 or 0 have lost their detail for good; lowering brightness on the saved file will not bring it back. Keep the original.
  • Colour cannot be recovered from a saved greyscale file.
  • There is no white balance, saturation or curves control here. Use the photo editor for colour work.

Checked

Frequently asked questions

How is greyscale made?

Red, green and blue are mixed as 0.2126 : 0.7152 : 0.0722 to match how bright each looks to the eye (Rec. 709). Compared with a plain average, greens stay lighter and blues darker, which looks more natural.

When should I use Black and white only?

It turns every point black or white, to make a scanned document or signature on a greyish background crisp. White starts at brightness 128; if faint strokes disappear, raise White from brightness so more points stay black.

Does the saved photo keep location data?

No. A JPG keeps its date taken and camera details, so photo apps still sort it by that day, but the location (GPS) is blanked; other formats carry no EXIF data. JPG, WebP and PNG keep their format; GIF and BMP are saved as PNG.