RGB <-> HSL by Jens Kafitz |
The RGB to HSL and HSL to RGB Adjustment Nodes allow you to convert your image data from and to
HSV Space (Hue Saturation Lightness).
By default Mari will apply any action (filter, adjustment etc.) to the Red, Green and Blue Channels of your
Images.
By converting these channels to Hue, Saturation and Lightness Channels you are able to directly affect each channel
with any tool that can change values for Red, Green and Blue Channels separately.
then convert it back into RGB Space via a HSL to RGB Node.
1) in the first image below we have a simple texture with a Color Lookup Adjustment applied
2) Since the Image is in RGB Space, setting the Red and Green Channel to 0 (by flattening their curves) will leave you
with only the result of the Blue Channel
3) In the Image below the Red, Green and Blue Channels were converted to Hue/Saturation & Lightness first, changed via
a Color Lookup and then converted back to RGB.
Since the Red, Green and Blue Channels now represent Hue, Saturation and Lightness, by setting the Red and Green
Curves to 0 (flattened curve) you are setting the Hue and Saturation for all pixels to 0, while keeping the Lightness as it
was before.
MARI Extension Pack contains both conversions for HSV (Hue,Saturation,Value) and HSL (Hue, Saturation, Lightness).
They are different in the way the colors are represented in a coordinate system
Created with the Personal Edition of HelpNDoc: Full-featured EPub generator