PxrHSL

PxrHSL

Adjust the hue, saturation and value of a given input color. Note the output is in RGB color space.

Input Parameters

Input Color

The color to have HSL adjustments applied to it.

RIB: color inputRGB
Default: 0.0 0.0 0.0

Hue

The amount to shift hue by.

RIB: float hue
Default: 0.0

Saturation

The amount to scale saturation by.

RIB: float saturation
Default: 1.0

Luminance

The amount to scale luminance by.

RIB: float luminance
Default: 1.0

Output Parameters

resultRGB

The clamped color result.

resultR

The R channel from the resultRGB output.

resultG

The G channel from the resultRGB output.

resultB

The B channel from the resultRGB output.