EIT easy-image-tools / Convert PNG to LAB Colors

Convert PNG to LAB Colors

Decomposes the image into perceptual Lightness and green–magenta / blue–yellow opponents.

Nothing found — try another word.

01

Convert PNG to LAB Colors

Nothing found — try another word.

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Convert PNG to LAB decomposes the image into perceptual lightness and two opponent axes: L is lightness on the familiar 0 to 100 scale, a runs from green to magenta and b from blue to yellow, each centered on neutral gray. LAB is the space built so that equal numeric steps look like equal perceptual steps — two colors at the same L really do look equally bright. The values here are normalized into 0 to 1 with the axes centered at mid gray, because a PNG can only store three bytes per pixel. It runs in your browser and keeps alpha intact.

  • Runs entirely in your browser: no upload, no server, no signup.
  • L, A or B one at a time as grayscale, or all three as RGB.
  • Mid gray on the a and b maps means neutral — a PNG channel cannot be negative.
  • A working space for color management, not an output format.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Pick Component: L for lightness, A for the green-magenta axis or B for the blue-yellow axis.
  3. Switch Display to Space as RGB to see all three as red, green and blue.
  4. Download the result from the Download button.

Questions

Why are a and b shown as brightness instead of signed numbers?

A PNG channel cannot be negative. The green-magenta and blue-yellow axes are therefore centered at mid gray: 0.5 is neutral, darker means green or blue, lighter means magenta or yellow. That is a display choice, not a different measurement.

How is LAB different from the HSL split?

HSL numbers were built for convenience; LAB was built so that a difference in the numbers matches a difference you can see. Two colors at the same L in LAB really do look equally bright, where HSL lightness does not promise that.

Do I need this for printing?

No. LAB is the working space for color management, not an output format. For ink coverage use the CMYK page, and for a print-ready file convert in an editor that can embed an output profile.

What happens to very dark pixels?

The conversion follows the standard sRGB curve first, so shadows lift much more than a plain average would. That is deliberate - it matches how the eye reads brightness - but it means the L map of a dark photo carries more detail than the raw channels.

Related tools