Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate random RGB color gradients with reproducibility for artistic projects.
The CR Random RGB Gradient node is designed to generate a gradient of random RGB colors based on a specified number of rows and a seed value. This node is particularly useful for creating visually appealing and unique color gradients that can be used in various artistic and design projects. By setting a seed value, you can ensure the reproducibility of the gradient, making it easier to achieve consistent results across different runs. The node's primary function is to produce a multiline text output where each line represents a row in the gradient, with each row containing a random RGB color value. This allows for easy integration and manipulation of the generated gradient in your creative workflows.
The seed
parameter is an integer value that initializes the random number generator, ensuring that the sequence of random numbers (and thus the generated gradient) is reproducible. This means that using the same seed value will always produce the same gradient. The seed value can range from 0 to 0xffffffffffffffff, with a default value of 0. Setting a specific seed is useful when you want to recreate the same gradient multiple times or share it with others.
The rows
parameter specifies the number of rows in the generated gradient. Each row will contain a unique random RGB color value. The number of rows can range from a minimum of 1 to a maximum of 2048, with a default value of 5. Adjusting the number of rows allows you to control the granularity and length of the gradient, making it suitable for different artistic needs.
The multiline_text
output is a string where each line represents a row in the gradient. Each line contains a random RGB color value in the format value:R,G,B
, where value
is a number indicating the position in the gradient, and R
, G
, and B
are the red, green, and blue color components, respectively. This output can be used directly in your projects or further processed to create complex visual effects.
The show_help
output is a string containing a URL to the documentation or help page for the CR Random RGB Gradient node. This link provides additional information and guidance on how to use the node effectively, making it easier for you to understand and leverage its capabilities.
multiline_text
output to easily integrate the generated gradient into your design projects, such as backgrounds, textures, or color schemes.show_help
link for detailed documentation and examples on how to use the node effectively.© Copyright 2024 RunComfy. All Rights Reserved.