Go to: Related nodes. Attributes.

HSV to RGB is a utility node that allows you to convert an HSV (Hue-Saturation-Value) color into an RGB (Red-Green-Blue) color.

This is useful when you want to control a color using HSV values. For example, say you want to animate a shader to run through all the rainbow colors. (This is the same as animating the Hue of an HSV color). To do this, create an HSV to RGB node, and connect the Out Rgb attribute to the shader color. Then animate the first channel of InHsv (which is the Hue).

In the table below, important attributes have their names listed in bold in the description column.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets

Related nodes

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

Attributes (8)

inHsv, inHsvB, inHsvG, inHsvR, outRgb, outRgbB, outRgbG, outRgbR

Long name (short name)TypeDefaultFlags
inHsv (i) float30.0, 0.0, 0.0outputinputconnectablestorable
In Hsv is the input color (represented as Hue, Saturation, and Value) that will be converted to an RGB color.
inHsvR (ir) float0.0outputinputconnectablestorablekeyable
The first (Hue) component of In Hsv. This value ranges from 0 to 360, representing degrees of a circle. The primary colors are found here:
    0/360: Red
    60: Yellow
    120: Green
    180: Cyan
    240: Blue
    300: Magenta
inHsvG (ig) float0.0outputinputconnectablestorablekeyable
The second (Saturation) component of In Hsv. The range is from 0 to 1 where 0 is a shade of grey, and 1 is a completely saturated color.
inHsvB (ib) float0.0outputinputconnectablestorablekeyable
The third (Value) component of In Hsv. The range is from 0 to 1, where 0 is black and 1 is the brightest possible color of the given saturation.
outRgb (o) float30.0, 0.0, 0.0outputconnectable
Out Rgb is the output RGB color calculated by this node.
outRgbR (or) float0.0outputconnectable
The first (red) component of Out Rgb
outRgbG (og) float0.0outputconnectable
The second (green) component of Out Rgb
outRgbB (ob) float0.0outputconnectable
The third (blue) component of Out Rgb