# RGBToHSL node¶

This documentation is for version 1.0 of RGBToHSL (net.sf.openfx.RGBToHSL).

## Description¶

Convert from RGB to HSL color model (hue, saturation, lightness, as defined by Joblove and Greenberg in 1978). H is in degrees, S and L are in the same units as RGB. No gamma correction is applied to RGB before conversion.

## Inputs¶

Input Description Optional
Source   No

## Controls¶

Parameter / script name Type Default Function
Unpremult / premult Boolean Off Divide the image by the alpha channel before processing. Use if the input images are premultiplied.