RGB To HSV
PureRGBToHSVConverts an RGB color to HSV (Hue, Saturation, Value) 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 |
| V | float 0-1 | V output |
Example Use Cases
Example 1
Determine if a color is 'bright' by checking the V component.
Example 2
Shift hue while preserving brightness.