Visit ComfyUI Online for ready-to-use ComfyUI environment
Create smooth color transitions for backgrounds and overlays with customizable linear gradients.
The CR Color Gradient node is designed to create smooth transitions between two colors across a specified canvas. This node is particularly useful for generating visually appealing backgrounds, overlays, or any graphical element that requires a gradient effect. By allowing you to define the start and end colors, as well as the orientation and transition point of the gradient, this node provides a high degree of customization. The primary goal of the CR Color Gradient node is to facilitate the creation of linear color gradients, which can enhance the aesthetic quality of your AI-generated art by adding depth and dimension.
This parameter defines the starting color of the gradient. You can choose from predefined colors or specify a custom color using a hexadecimal value. The default color is white (255, 255, 255). This parameter significantly impacts the initial appearance of the gradient.
This parameter sets the ending color of the gradient. Similar to the start_color, you can select from predefined colors or input a custom hexadecimal value. The default color is black (0, 0, 0). This parameter determines the final color at the opposite end of the gradient.
If you choose "custom" for the start_color, this parameter allows you to specify the exact hexadecimal value for the starting color. This provides precise control over the gradient's initial hue.
If "custom" is selected for the end_color, this parameter lets you input the hexadecimal value for the ending color. This ensures that the gradient transitions to your desired final color.
This parameter specifies the width of the canvas on which the gradient will be applied. The width affects the horizontal span of the gradient.
This parameter defines the height of the canvas. It influences the vertical extent of the gradient.
This parameter determines the direction of the gradient. You can choose between "horizontal" and "vertical" orientations. The orientation affects how the colors transition across the canvas.
This parameter sets the point of transition between the start and end colors. It is a value between 0 and 1, where 0 represents the start color and 1 represents the end color. This parameter allows you to control the smoothness and position of the gradient transition.
This parameter defines the distance over which the gradient transition occurs. It is a value between 0 and 1, where 0 means an abrupt transition and 1 means a smooth, extended transition. This parameter helps in fine-tuning the gradient effect.
The output is a canvas with the applied gradient. This canvas can be used as a background, overlay, or any other graphical element in your AI-generated art. The gradient effect adds depth and visual interest to your creations.
© Copyright 2024 RunComfy. All Rights Reserved.