Skip to content

Color Split ​

Extracts individual R, G, B, and A channels from an image as separate grayscale outputs.

Category: Color Menu path: Color > ColorSplit

Ports ​

PortTypeDirectionDescription
inimageRgba16finputInput image
rimageRgba16foutputRed channel as grayscale (full alpha)
gimageRgba16foutputGreen channel as grayscale (full alpha)
bimageRgba16foutputBlue channel as grayscale (full alpha)
aimageRgba16foutputAlpha channel as grayscale (full alpha)

Parameters ​

None. Color Split has no parameters.

How It Works ​

Each output port runs a GPU pass that extracts one channel from the input image and writes it as a grayscale image with full opacity. For the R, G, and B outputs, the shader unpremultiplies the input first (divides RGB by alpha) so the extracted value represents the true color channel, not the premultiplied value. The A output extracts the alpha directly since it is already in straight form.

Each output is independent -- only connected outputs are evaluated, so unconnected channels have zero performance cost.

Usage Examples ​

Basic: Isolate a color channel ​

  1. Add a ColorSplit node after your image source
  2. Connect the r output to view just the red channel
  3. Use the grayscale output as a mask or feed it into further processing

Creative: Channel mixing via recombination ​

  1. Split an image into channels with ColorSplit
  2. Route the channels through different effect chains (e.g., blur the red, invert the blue)
  3. Use a custom shader or layered compositing to recombine them

Advanced: Alpha-based effects ​

Connect the a output to a Matte node's matte input to use the image's own alpha as a matte source. Or feed it into a Colorize node to visualize the alpha channel as a color gradient.

Tips ​

  • ColorSplit outputs are always full-opacity grayscale images -- the extracted channel value is replicated across R, G, and B
  • Only connected outputs incur a GPU pass. Leave unused channels disconnected for best performance.
  • For extracting a single channel as a scalar field (rather than an image), use the ImageSample node with a channel selector instead
  • Invert -- invert specific channels in place
  • Levels -- per-channel brightness adjustment
  • Colorize -- map a grayscale channel to a color ramp
  • Matte -- accepts channel outputs as matte sources