Compositing node

Color Ramp

Recolors any grayscale source by mapping its brightness onto a custom gradient with up to 32 stops — the classic trick for turning plain noise or a height map into something that looks painted.

Download the patchRead it in the Field Guide

The Color Ramp node in Infinite, showing its inputs, controls and outputs.

What it does

Color Ramp is a compositing node: it layers, masks and routes pictures. It takes picture in and gives picture out.

Try it

Map noise through a five-stop sunset gradient, then use the result as a material's color.

Noise TextureColor Ramp (Sunset)3D Material

Inputs and outputs

Inputs

  • picture input

Outputs

  • picture out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
interpolationLinear, Constant, Oklab, OKLCh0
mix0 to 11

Example patch

This patch wires Color Ramp to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Color Ramp: a starting patch for the Color Ramp node
node 1 Compositing Color Ramp
  id node
  pos 520 300
end
node 2 Source Ramp
  id in0
  pos 0 300
end
node 3 Utility Output
  id out
  pos 1080 300
end
cable node 0 in0
cable out 0 node

More compositing nodes