This node generates random colors for an RGB layer. Use Seed to control the random selection, which by default
fills the layer. For per pixel randomness enable Random per Pixel, or use the seed
input to vary the randomness
per custom shapes.
Parameters ¶
Range ¶
Range Values
The random colors will be generated in the selected range. This parameter governs how this range is specified. You can also provide a list of specific colors or multiple ranges by selecting Specific Colors, which can be useful to create colors representing specific color palettes.
Min/Max
The random color will be between the given minimum and maximum values.
Color Ramp
The random colors will be generated using a ramp parameter look up (specified by Color Ramp).
Specific Colors
The random colors will be one of the listed rgb colors.
Color Model
The color space for specifying the range of color values. You can use RGB to constrain the red, green, blue component values or HSV to restrict the adjustment values to a slice of the hue, saturation, value wheel.
Relative to Color
When this checkbox is turned on, the given color range will be relative to this color. This is useful if you have a specific color in mind and want small deviations from it.
Red Min/Max
The minimum and maximum values of the red component.
Green Min/Max
The minimum and maximum values of the green component.
Blue Min/Max
The minimum and maximum values of the blue component.
Hue Min/Max
The minimum and maximum values of the hue component, which captures the pure color.
Saturation Min/Max
The minimum and maximum values of the saturation component, which captures the vibrancy of the color.
Color Ramp
The intermediate uniformly-distributed value will be fed through this ramp to obtain the random color.
Color Palette
This menu contains a set of pre-defined color palettes. Selecting one of these options will populate the list of specific values with four preset colors.
Number of Colors
Controls the number of sets of possible random colors. Each set can be a single color or consist of multiple related colors (when the menu to the right of the parameter is not set to Constant or Complementary).
Color
The base color for this set.
Color Scheme
Controls how the set of colors is derived from the specified base Color.
Constant
This set will only include the base Color.
Complementary
This set will consist of the base Color and its complementary color. Complementary colors are opposite each other on the color wheel.
2 Analogous
This set will consist of 3 colors: the base Color and its two neighbors around the color wheel. Angle controls the distance to the neighbors.
4 Analogous
This set will consist of 5 colors: the base Color and its 4 neighbors around the color wheel. Angle controls the distance to the neighbor.
Triadic
Same as 2 Analogous.
Tetradic
This set will consist of 4 colors that include the base Color and its complement, as well as a neighbor for each. Angle controls the distance to the neighbors.
5 Shades
This set will contain 5 colors with varying levels of brightness. Use the Distance parameter to change their spacing.
5 Tints
This set will contain 5 colors with varying levels of saturation. Use the Distance parameter to change the default spacing.
Weight
Samples the given adjustment value with the specified weight. Values with lower Weight will be selected less frequently. When all weights are the same, each adjustment value has the same probability.
Random ¶
Random per Pixel
Sets the random color selection per pixel basis. Use this option if you want to create fine grain-like noise.
Seed
All generated colors depend randomly on this value. Choose a different value if the current seed produces undesirable samples.
Time
All generated colors depend randomly on this value. Choose a different value if the current seed produces undesirable samples.
Zero Negative IDs
When seed
input is provided, this will output black color for any pixel where the seed is a negative integer. This is useful
when you consider negative seed values as part of the background where you do not want to generate random colors.
See also |