Go to: Related nodes. Attributes.

Remap Color is a utility node that allows you to take an input color value and remap the red green and blue balance using three gradients.

The input value is used to select a point along the gradient to use for the output value.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
remapColordependNodeutility/colorkRemapColorkBase
kNamedObject
kDependencyNode
kRemapColor

Related nodes

remapValue, clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, hsvToRgb, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch

Attributes (24)

blue, blue_FloatValue, blue_Interp, blue_Position, color, colorB, colorG, colorR, green, green_FloatValue, green_Interp, green_Position, inputMax, inputMin, outColor, outColorB, outColorG, outColorR, outputMax, outputMin, red, red_FloatValue, red_Interp, red_Position

Long name (short name)TypeDefaultFlags
color (cl) float3outputinputconnectablestorable
Color is the input color to remap.
colorR (cr) float0.5outputinputconnectablestorablekeyable
color red value
colorG (cg) float0.5outputinputconnectablestorablekeyable
color green value
colorB (cb) float0.5outputinputconnectablestorablekeyable
color blue value
inputMin (imn) float0outputinputconnectablestorablekeyable
This determines the input value which maps to the left of the gradients.
inputMax (imx) float1outputinputconnectablestorablekeyable
This determines the input value which maps to the right of the gradients.
outputMin (omn) float0outputinputconnectablestorablekeyable
This determines the output value which maps to the bottom of the graph or the color black.
outputMax (omx) float1outputinputconnectablestorablekeyable
This determines the output value at the graph top or white value.
red (r) compoundn/aarrayoutputinputconnectablestorablekeyable
Red defines a range of values used to remap the input red component to the outColor red value. The red component from the input color is used as the index in this ramp where a value of 0.0 will map to the left while 1.0 will map to the right.
red_Position (rp) float0.0outputinputconnectablestorablekeyable
Position of ramp value on normalized 0-1 scale
red_FloatValue (rfv) float0.0outputinputconnectablestorablekeyable
Ramp value at the sibling position
red_Interp (ri) enum0outputinputconnectablestorablekeyable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
    None: No interpolation is done; the different colors just show up as different bands in the final texture.

    Linear: The values are interpolated linearly in RGB color space.

    Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color.

    Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.

green (g) compoundn/aarrayoutputinputconnectablestorablekeyable
Green defines a range of values used to remap the input green component to the outColor green value. The green component from the input color is used as the index in this ramp where a value of 0.0 will map to the left while 1.0 will map to the right.
green_Position (gp) float0.0outputinputconnectablestorablekeyable
Position of ramp value on normalized 0-1 scale
green_FloatValue (gfv) float0.0outputinputconnectablestorablekeyable
Ramp value at the sibling position
green_Interp (gi) enum0outputinputconnectablestorablekeyable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
    None: No interpolation is done; the different colors just show up as different bands in the final texture.

    Linear: The values are interpolated linearly in RGB color space.

    Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color.

    Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.

blue (b) compoundn/aarrayoutputinputconnectablestorablekeyable
Blue defines a range of values used to remap the input blue component to the outColor blue value. The blue component from the input color is used as the index in this ramp where a value of 0.0 will map to the left while 1.0 will map to the right.
blue_Position (bp) float0.0outputinputconnectablestorablekeyable
Position of ramp value on normalized 0-1 scale
blue_FloatValue (bfv) float0.0outputinputconnectablestorablekeyable
Ramp value at the sibling position
blue_Interp (bi) enum0outputinputconnectablestorablekeyable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
    None: No interpolation is done; the different colors just show up as different bands in the final texture.

    Linear: The values are interpolated linearly in RGB color space.

    Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color.

    Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.

outColor (oc) float30.0, 0.0, 0.0outputconnectable
OutColor is the final remapped color.
outColorR (ocr) float0.0outputconnectable
The X component of Output
outColorG (ocg) float0.0outputconnectable
The Y component of Output
outColorB (ocb) float0.0outputconnectable
The Z component of Output