π¨ CSS Filters FX
Brightness, Contrast, Saturation, and Friends
- image_in
- fx
- image
If you've ever written CSS, you already know how to use this node. π¨ CSS Filters FX takes the standard web filter set - brightness, contrast, saturate, hue-rotate, sepia, grayscale, invert - and exposes each as a slider. It's the most approachable member of the Color Pro family, and often the first one people chain together.
How it works. Each filter is an independent widget, and they all stack when you enable them. brightness, contrast, and saturate run 0β300 as percentages (100 = no change), the same semantics as CSS. blur (0β20) applies a Gaussian blur. grayscale, sepia, and invert run 0β100 as percentages. hue_rotate runs β180 to 180 degrees. There's also the standard enabled and label pair, and the whole effect is a single pass when the node runs.
The dual-mode design is the Color Pro family's standard: it's an emitter. Connect image_in and you get image out with all the filters applied - standalone mode, which is how most people start. Or take the fx output (a COLOR_FX descriptor) into the Color Pro Receiver and this becomes one stage in a chain, applied in slot order. The filters don't have per-filter on/off toggles beyond setting a value to its neutral point - brightness 100, contrast 100, saturate 100, grayscale 0, and so on.
Where people get burned: the percentage model catches people out. Saturation is not β100 to +100 here; it's 0 to 300 with 100 meaning "unchanged." Want more punch? 120. Want near-black-and-white? 20. Don't reach for negative numbers, there are none. Second trap: hue_rotate is a rotation - it shifts every hue by the same amount, which is not the same as the targeted hue-family adjustments you get from the Hue/Sat/Light FX. For global it's fine; for "just fix the greens" you want HSL. And the blur filter is a real Gaussian smear - the classic post-processing doc trap of grabbing blur where you wanted edge-preserving smoothing.
Install. ComfyUI Manager β search "Orion4D_MetaNode", or clone https://github.com/orion4d/Orion4D_MetaNode into custom_nodes/ and restart. Category: Orion4D_MetaNode/ColorGrading. No extra dependencies.
Start here when you're new to the Color Pro chain: the widgets are self-explanatory, the defaults are all neutral, and it's the fastest way to feel out how the emitter/receiver split works before graduating to the heavier tools.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | BOOLEAN | true | β |
| label | STRING | CSS Filters | β |
| blur | FLOAT | 0.00β20 | β |
| brightness | FLOAT | 1000β300 | β |
| contrast | FLOAT | 1000β300 | β |
| saturate | FLOAT | 1000β300 | β |
| grayscale | FLOAT | 00β100 | β |
| sepia | FLOAT | 00β100 | β |
| hue_rotate | FLOAT | 0-180β180 | β |
| invert | FLOAT | 00β100 | β |
| image_inopt | IMAGE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| fx | COLOR_FX | β |
| image | IMAGE | β |