PNG RGB Components Splitter

Uploads a PNG, decodes it onto an off-screen canvas, and generates three separate, fully opaque grayscale images, one representing only the red channel's intensity, one only green, and one only blue, so you can inspect or download each color component individually. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-26

Overview

Introduction

This tool separates a PNG into its three individual color channels, entirely in your browser, letting you inspect red, green, and blue independently.

It's the color equivalent of the alpha channel extractor, applied to each of the three visible channels instead of transparency.

What Is PNG RGB Components Splitter?

A client-side channel-splitting tool that reads an uploaded PNG's pixel data and builds three new grayscale images, each representing the intensity of just one of the red, green, or blue channels at every pixel.

All three outputs share the original image's exact dimensions and are always fully opaque.

How PNG RGB Components Splitter Works

For every source pixel, the tool copies its red value into all three channels of the 'red' output image (producing a neutral gray brightness, not a red tint), and does the same independently for green and blue.

This means each output image's brightness at any given pixel directly represents how strong that one color channel was in the original image at that location.

When To Use PNG RGB Components Splitter

Use it to debug unexpected color casts or artifacts by checking whether a specific channel shows unusual noise or banding.

It's also useful as a learning tool for understanding how RGB color composition works, by seeing each channel's contribution in isolation.

Features

Advantages

  • Runs entirely client-side; the uploaded image is never sent to a server.
  • Splits into all three channels in one pass, rather than requiring three separate operations.
  • Preserves exact per-pixel intensity values, useful for precise analysis rather than just a visual approximation.

Limitations

  • Discards the alpha channel entirely in the split output; use the alpha channel extractor separately if transparency matters.
  • Outputs grayscale intensity representations, not the actual tinted red/green/blue colors some other tools display channels as.

Examples

Inspect a photo's color channels

Input

A 800x600 PNG photo with a slight blue color cast

Output

Three grayscale images; the blue channel image appears noticeably brighter overall than red or green

A color cast shows up as one channel's grayscale output being systematically brighter or darker than the others across the image.

Check a pure red square

Input

A 100x100 PNG that's solid RGB(255, 0, 0)

Output

The red output is solid white, the green and blue outputs are solid black

Since only the red channel has a nonzero value everywhere, only the red-channel output shows any brightness.

Best Practices & Notes

Best Practices

  • Compare all three channel outputs side by side rather than one at a time, since relative brightness differences are often more informative than any single channel alone.
  • Use alongside the transparency checker if you also need to understand the alpha channel, which this tool intentionally excludes.

Developer Notes

The lib function allocates three separate output buffers with createPixelBuffer and fills each in a single pass over the source data, writing the same channel value into all three RGB slots of the relevant output (an equal-weighted grayscale representation) and forcing alpha to 255 on every output.

PNG RGB Components Splitter Use Cases

  • Debugging an unexpected color cast in a photo
  • Teaching or learning how RGB color composition works visually
  • Checking for channel-specific compression artifacts or noise

Common Mistakes

  • Expecting the 'red' output image to actually look red — it's a grayscale brightness representation of the red channel's intensity, not a tinted image.
  • Forgetting that alpha is dropped entirely from all three outputs.

Tips

  • Use the alpha channel extractor alongside this tool for a complete four-channel (R, G, B, A) breakdown of an image.
  • Download all three channel images if you plan to recombine or further process them outside this tool.

References

Frequently Asked Questions