ComfyUI Node
Primitive Color HSL (MD)
Converts HSL color values to an integer color code and a hexadecimal string representation.
Primitive Color HSL (MD)
- int
- HEX
◄Hue0.0►
◄Saturation0.0►
◄Lightness0.0►
Categorymd/color
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| Hue | FLOAT | 0.00–360 | Hue value in degrees (0-360). |
| Saturation | FLOAT | 0.00–100 | Saturation percentage (0-100%). |
| Lightness | FLOAT | 0.00–100 | Lightness percentage (0-100%). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| int | INT | Packed 24-bit integer color value (0-16777215). |
| HEX | STRING | Hexadecimal color string (e.g., #FF0000). |