Visit ComfyUI Online for ready-to-use ComfyUI environment
Create circular color gradients from a central point for dynamic visual effects in AI compositions.
The CR Radial Gradient node is designed to create a smooth transition of colors radiating from a central point outward, forming a circular gradient effect. This node is particularly useful for generating visually appealing backgrounds, highlights, or any graphical elements that require a radial color transition. By leveraging this node, you can easily define the center of the gradient, the colors at the start and end points, and the distance over which the gradient transitions. This flexibility allows for a wide range of creative possibilities, making it an essential tool for AI artists looking to enhance their visual compositions with dynamic and engaging color patterns.
This parameter defines the width of the canvas on which the radial gradient will be drawn. It determines the horizontal size of the output image. The width should be specified in pixels, and it directly impacts the resolution and aspect ratio of the gradient. There is no strict minimum or maximum value, but typical values range from 100 to 2000 pixels depending on the desired output size.
This parameter specifies the height of the canvas for the radial gradient. Similar to the width, it determines the vertical size of the output image and should be provided in pixels. The height affects the resolution and aspect ratio of the gradient. Typical values range from 100 to 2000 pixels.
This parameter sets the color at the center of the radial gradient. You can choose from predefined color names or use a custom color by specifying a hexadecimal color code. The start color is crucial as it defines the initial hue from which the gradient will radiate outward.
This parameter defines the color at the outer edge of the radial gradient. Similar to the start color, you can select from predefined color names or use a custom hexadecimal color code. The end color determines the final hue of the gradient as it reaches the edges of the canvas.
This parameter specifies the horizontal position of the center of the radial gradient as a fraction of the canvas width. The value ranges from 0 to 1, where 0 represents the left edge and 1 represents the right edge of the canvas. The default value is 0.5, placing the center in the middle horizontally.
This parameter sets the vertical position of the center of the radial gradient as a fraction of the canvas height. The value ranges from 0 to 1, where 0 represents the top edge and 1 represents the bottom edge of the canvas. The default value is 0.5, placing the center in the middle vertically.
This parameter controls the distance over which the gradient transitions from the start color to the end color. It is specified as a fraction of the canvas size, with a value of 1 meaning the gradient will transition over the entire canvas. Adjusting this value allows for tighter or more extended gradient transitions.
This parameter allows you to specify a custom start color using a hexadecimal color code. It provides flexibility for precise color selection beyond predefined color names. The default value is #000000
(black).
This parameter allows you to specify a custom end color using a hexadecimal color code. It offers the same flexibility as the start color hex parameter for precise color selection. The default value is #000000
(black).
The output parameter is the canvas, which is an image array representing the radial gradient. This canvas can be used directly in your visual compositions or further processed for additional effects. The canvas contains the gradient transition from the start color at the center to the end color at the edges, based on the specified input parameters.
start_color
and end_color
combinations to create unique and visually striking gradients.radial_center_x
and radial_center_y
parameters to offset the gradient center and create interesting focal points in your designs.gradient_distance
parameter to control the smoothness of the gradient transition, making it either more abrupt or more gradual.#
followed by six hexadecimal digits (e.g., #FF5733
).gradient_distance
parameter is set to a value outside the acceptable range.gradient_distance
is a fraction between 0 and 1. Adjust the value to fall within this range.© Copyright 2024 RunComfy. All Rights Reserved.