Hex to HSL
Turn a picked color into numbers WAS's other color nodes can use
Not documented by name in WAS's own README, but the job is exactly what it says on the tin: take a hex color code - the #FF6600-style string you'd copy out of a color picker, a brand kit, or a design tool - and convert it into HSL: hue, saturation, and lightness as separate numeric components.
Why that conversion specifically matters comes down to what WAS's other color nodes actually want as input. The README documents Image Generate Gradient ("Generate a gradient map with desired stops and colors"), Image Gradient Map, and Image Rotate Hue, whose hue_shift parameter is explicitly described in terms of a 0.0-to-1.0 rotation around the color wheel - "a hue_shift of 0.0 would represent no change, and 1.0 would represent a full circle of the hue." That's HSL-space math. Hex is great for humans picking a color visually; HSL is what you actually need if you want to do math on a color - nudge its hue programmatically, generate a sequence of evenly-spaced tones, or interpolate smoothly between two colors without the weird jumps you get interpolating hex/RGB directly. Hex to HSL is the bridge between "the color I picked" and "the numbers WAS's gradient and hue tools want to work with."
A concrete way this gets used: pull a hex value out of WAS's own Image Color Palette node (which extracts a palette from an image), convert it to HSL with this node, nudge the hue or lightness by some offset, and you've got a programmatically-derived variant of a color that was originally sampled from a real image - useful for building coordinated gradient stops or palette variations without eyeballing hex codes by hand.
Input is a hex color string; output is the HSL breakdown - expect separate H, S, and L values (as FLOAT or INT depending on how the node's built) rather than a single combined string, since that's what downstream math nodes would actually need to consume.
Installing it: ComfyUI Manager, search "WAS Node Suite," install, restart - the easy path. Manual install: cd ComfyUI/custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui, then pip install -r requirements.txt (portable: python_embeded\python.exe -s -m pip install -r requirements.txt; manual/venv: activate the venv first), restart ComfyUI. No model, no unusual dependency - it's color-space arithmetic, nothing more.
Where it bites: on its own, basically nowhere - there's no external service or model involved, just a formula. The one thing worth double-checking is the hex string format itself: make sure you're feeding it a properly formatted hex code (with or without the leading #, depending on what the node expects) rather than a named color or an RGB tuple, since a malformed string is the most likely reason a pure-formula node like this would produce garbage output. Beyond that, the standing caveat for the whole pack applies: WAS Node Suite has been unmaintained since December 2023 (its README says "Retired"), and the community's recurring complaint is the entire suite failing to import after a ComfyUI update - check your console for that before troubleshooting this node specifically.
Inputs (0)
No inputs
Outputs (0)
No outputs