RGB To HSL
PureRGBToHSLConverts an RGB color to HSL (Hue, Saturation, Lightness) components.
Type: Pure (no side effects)
Category: Fortuna|Color & Visual
Keywords: color & visual
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Color | FLinearColor | — | Color parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| H | float 0-360 | H output |
| S | float 0-1 | S output |
| L | float 0-1 | L output |
Example Use Cases
Example 1
Adjust only the saturation of a color.
Example 2
Sort colors by hue for a color picker.