ComfyUI Node
Tone Curve (RGB)
A ComfyUI node in ComfyUI-JH-PixelPro/color with 5 inputs and 1 output.
Tone Curve (RGB)
- image
- image_toned
◄presetlinear►
◄channelrgb_master►
◄points_json[[0.0, 0.0], [0.15, 0.10], [0.30, 0.25], [0.45, 0.43], [0.55, 0.57], [0.70, 0.75], [0.85, 0.90], [1.0, 1.0]]►
◄strength1.00►
CategoryComfyUI-JH-PixelPro/color
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| preset | COMBO | linear | Tone curve preset. s_curve_mild / s_curve_strong add contrast; lift_shadows opens up dark regions; crush_blacks deepens shadows for dramatic look; linear = identity. Choose 'custom' to paste your own 8-point JSON below. |
| channel | COMBO | rgb_master | rgb_master = apply the curve equally to R, G, B (global contrast). r / g / b = apply only to that channel (color balance / white-balance correction). |
| points_json | STRING | [[0.0, 0.0], [0.15, 0.10], [0.30, 0.25], [0.45, 0.43], [0.55, 0.57], [0.70, 0.75], [0.85, 0.90], [1.0, 1.0]] | Custom 8 control points [[x1,y1],...,[x8,y8]] in [0,1]^2. Endpoints MUST be (0,0) and (1,1). x must be strictly increasing (monotone). Used only when preset = custom; ignored otherwise. |
| strength | FLOAT | 1.000–1 | Blend factor. 0 = identity (bypass), 1 = full curve. Use 0.5–0.8 for subtle grading. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image_toned | IMAGE | — |