Nodes/ComfyUI-JH-PixelPro/Tone Curve (RGB)
ComfyUI Node

Tone Curve (RGB)

A ComfyUI node in ComfyUI-JH-PixelPro/color with 5 inputs and 1 output.

By jetthuangai·Created 4 months ago·Updated 3 months ago· 5
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)

NameTypeDefaultDescription
imageIMAGE
presetCOMBOlinearTone 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.
channelCOMBOrgb_masterrgb_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_jsonSTRING[[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.
strengthFLOAT1.000–1Blend factor. 0 = identity (bypass), 1 = full curve. Use 0.5–0.8 for subtle grading.

Outputs (1)

NameTypeDescription
image_tonedIMAGE