GlobaleGratuito

Convertitore in scala di grigi

Crea un PNG in scala di grigi con un’approssimazione ponderata della luminosità RGB.

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Dati

Suggerimento: premi Ctrl + Enter per eseguire

Il tuo risultato

Il risultato apparirà qui.

Per ora la guida dettagliata qui sotto è disponibile solo in inglese.

Informazioni su questo strumento

Converting to grayscale is useful for printing on black-and-white printers, for a classic photo look, for checking contrast in a design, and for preparing scans and documents. Simply averaging red, green and blue gives a flat, unnatural result because the eye is much more sensitive to green than to blue.

This tool uses the standard luminance weights from the sRGB/Rec. 709 colour standard, so bright greens stay light and deep blues become dark, as they appear to the eye. The result is saved as a lossless PNG.

Grayscale versions are also a quick accessibility check: if two important colours in a chart or logo turn into the same gray, people with colour-vision deficiencies may struggle to tell them apart too.

Come si usa

  1. Choose a colour image.
  2. Run it.
  3. Download the grayscale PNG.

Come funziona il calcolo

For each pixel, gray = 0.2126 × R + 0.7152 × G + 0.0722 × B (rounded), and red, green and blue are all set to that value. Transparency is kept.

gray = 0.2126R + 0.7152G + 0.0722B

Esempio pratico

A teacher wants a colour map to print clearly on the school’s black-and-white printer. Converted to grayscale, the green parks stay light and the blue lake becomes a darker gray, so areas remain distinguishable: a plain average would have made them almost the same shade.

Esempio di input e risultato

RGB → grigio

Limiti

  • Fixed luminance formula; no channel mixer or tint.
  • Output is PNG only.
  • Very large images are limited by device memory.

Ultimo aggiornamento:

Domande frequenti

Is grayscale the same as black and white?

Grayscale has 256 shades of gray; pure black-and-white (1-bit) has only two.

Can I adjust contrast?

Not here; use the photo enhancer first if the image is flat.

Is the original changed?

No. A new file is created and nothing is uploaded.

Risoluzione dei problemi

The result looks washed out.

The original had low contrast; enhance it before converting.

File size increased.

PNG is lossless; convert to JPG if size matters.

Transparent areas look black in a viewer.

They are still transparent; some viewers show black.

Privacy & Gratuito

I miei dati vengono salvati?

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Questo strumento è gratuito?

Sì. Non servono registrazione né pagamento.

Elaborato nel tuo browser

Passi successivi utili