DeepStereo: Color Picker
The DeepStereo color picker is the boring node that stops you mangling hex codes
- hex_color
- red
- green
- blue
You will not build a workflow around this node, and that's fine. The DeepStereo color picker is a small helper that exists because this pack's other nodes take colors as plain text strings - background_color, blend_color, dot_bg_color - and nothing is easier to fat-finger than a hex code. It turns a color choice into a hex_color string plus its red, green and blue channels as integers, so you can feed the same value into several places without retyping it.
How it works
There's one required input, color_mode, and three ways to actually pick the color:
rgb_sliders- use thered,green,blueinteger inputs (0–255). Defaults are 0, 0, 255, i.e. blue.preset_colors- fifteen named colors fromredthroughwhite(includingcyan,magenta,orange,purple, the dark variants, and a couple of grays). One dropdown, done.hex_input- type a 6-digit hex code yourself, no#(so0000FF, not#0000FF).
Here's the nice part: no matter which mode you pick, you get the same four outputs - hex_color (STRING), plus red, green, blue (INT). That means you can build a workflow using sliders, then swap to a preset or raw hex without rewiring anything.
The only knob that will actually bite you is include_hash, default on. It controls whether the hex_color output starts with a #. Some of the DeepStereo nodes' string inputs accept a hash fine (they strip it), so for most uses just leave it alone - but if you're feeding hex_color into something picky, that's the switch.
Wiring it up
Drop the hex_color string into any color-string input in the pack - like RandomDotStereogramGenerator's background_color or ImageEffectsTransformer's blend_color - and you get a single source of truth for the color instead of matching hex codes by eye. The red/green/blue integer outputs are there for when you're wiring into a node that takes separate channels. It's utility plumbing, but it's the kind that keeps a workflow readable.
Installing it
It ships inside the ComfyUI-DeepStereo pack, so there's nothing extra to fetch:
cd ComfyUI/custom_nodes
git clone https://github.com/SanDiegoDude/ComfyUI-DeepStereo
cd ComfyUI-DeepStereo
pip install -r requirements.txt
Then restart ComfyUI. Or, if you use ComfyUI Manager, search for ComfyUI-DeepStereo and let it handle clone plus dependencies (opencv-python, numpy, tqdm). One heads-up: the pack README's own install snippet points at a placeholder yourusername/... URL - the real repo is the one above.
That's the whole node. It won't make you a better stereogram artist, but it'll stop you typing #80o080 into a texture node and wondering why the pattern went brown.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| color_mode | COMBO | rgb_sliders | 3 options: rgb_sliders, preset_colors, hex_input |
| redopt | INT | 00–255 | — |
| greenopt | INT | 00–255 | — |
| blueopt | INT | 2550–255 | — |
| preset_coloropt | COMBO | blue | 15 options: red, green, blue, cyan, magenta, yellow, +9 |
| hex_inputopt | STRING | 0000FF | 6-digit hex code without # |
| include_hashopt | BOOLEAN | true | Include # in hex output |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| hex_color | STRING | — |
| red | INT | — |
| green | INT | — |
| blue | INT | — |