Color · Made a little simpler

Grayscale Converter

Compare an opaque HEX color with its weighted grayscale swatch. See the source RGB channels and copy gray HEX, RGB or HSL values.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Original #FF6B6B
Grayscale #979797

Luma 151 / 255 · 59.2%

BT.601 weights give 151.252 before rounding. Source channels are R 255, G 107, and B 107.

Original HEX
#FF6B6B
HEX
#979797
RGB
rgb(151, 151, 151)
HSL
hsl(0 0% 59.2157%)

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Grayscale Converter: how to use it

  1. Enter a three- or six-digit HEX color, use the color picker, or choose a sample.
  2. Compare Original and Grayscale. Review the unrounded weighted value, rounded luma and percentage.
  3. Copy HEX, RGB or HSL for the gray, or copy all values together for a color handoff.

Limits and notes

Use opaque, 8-bit sRGB HEX notation. The converter applies the BT.601 coefficients 0.299, 0.587 and 0.114 to the encoded channels and rounds to the nearest byte.

How your privacy works →

Grayscale Converter: common questions

How does the tool convert coral #FF6B6B to gray?

It weights the 255, 107 and 107 channels to get 151.252, rounds to 151, and writes 151 into each RGB channel. The gray is #979797.

Why can CSS filter grayscale() give a different shade?

CSS grayscale() uses its own color matrix. This converter applies the BT.601 channel weights and returns a new opaque swatch.

How should I handle a translucent color?

Composite it over the intended background first, then enter the resulting opaque HEX. The rounded luma describes the visible swatch on that surface.

Guides