Image en niveaux de gris
Créez un PNG gris avec une approximation pondérée de luminosité RGB.
Données
Astuce : Ctrl + Entrée pour lancer
L’aide détaillée ci-dessous n’est pour l’instant disponible qu’en anglais.
À propos de cet outil
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.
Mode d’emploi
- Choose a colour image.
- Run it.
- Download the grayscale PNG.
Fonctionnement du calcul
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.0722BExemple détaillé
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.
Exemple d’entrée et de résultat
RGB → gray / gris / grau
Limites
- Fixed luminance formula; no channel mixer or tint.
- Output is PNG only.
- Very large images are limited by device memory.
Dernière mise à jour:
Questions fréquentes
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.
Dépannage
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.
Confidentialité & Utilisation gratuite
Mes données sont-elles stockées ?
Vos données restent dans cet onglet. Nous ne recevons ni fichiers, ni textes, ni valeurs de calcul.
Cet outil est-il gratuit ?
Oui. Aucune inscription ni paiement requis.
Voir aussi
D’autres outils utiles
Redimensionner une image
Ajustez aux dimensions maximales en conservant les proportions, sans agrandissement.
Outils d’imageCompresser une image
Réencodez JPG ou WebP à qualité réglable. Le résultat peut être plus gros ; comparez.
Outils d’imageConvertisseur JPG, PNG et WebP
Convertissez en JPG, PNG ou WebP. Le JPG remplace la transparence par du blanc.
Outils d’image