第三方插件 ComfyUI_Comfyroll_CustomNodes

CR Color Gradient

CR Color Gradient 227

用于创建平滑过渡渐变图。? CR Color

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
CR Color Gradient
  • IMAGE
  • show_help
  • width
    height
    start_color
    end_color
    gradient_distance
    linear_transition
    orientation
    start_color_hex
    end_color_hex
    英文节点
    CR Color Gradient
  • IMAGE
  • show_help
  • width
    height
    start_color
    end_color
    gradient_distance
    linear_transition
    orientation
    start_color_hex
    end_color_hex

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

    输出参数
    IMAGE IMAGE
    输出的渐变图像(RGB 格式)。
    show_help show_help
    插件帮助页面地址。
    控件参数
    width width
    图像宽度(像素)。最小 64,最大 4096。
    height height
    图像高度(像素)。最小 64,最大 4096。
    start_color start_color
    起始颜色,可从预设 COLORS 中选择,支持自定义。
    end_color end_color
    终止颜色,可从 COLORS 中选择或自定义十六进制值。
    gradient_distance gradient_distance
    渐变范围,表示渐变区间占整个长度的比例(0~2)。默认 1。值越小则渐变区域越窄,其他部分为纯色填充。值为 1 代表标准均匀渐变。
    linear_transition linear_transition
    渐变中心位置(0~1)。默认 0.5 表示居中。控制渐变开始与结束的中点位置,0 表示靠左(或顶部),1 表示靠右(或底部)。
    orientation orientation
    渐变方向,支持: • "horizontal":横向渐变; • "vertical":纵向渐变。
    start_color_hex start_color_hex
    (可选)起始颜色的十六进制字符串,自定义颜色专用。
    end_color_hex end_color_hex
    (可选)终止颜色的十六进制字符串。

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。