On this page |
This node generates random colors for an RGB layer. The Seed parameter controls the random selection, which by default fills the layer. For per-pixel randomness, turn Random per Pixel on or use the seed
input to vary the randomness for each custom shape.
Parameters ¶
Range ¶
Range Values
The method used to select the range in which to generate the random colors.
Min/Max
The random color is between the given minimum and maximum values.
Color Ramp
A ramp parameter look up generates the random colors.
Specific Values
The random colors are one of the listed RGB colors. This lets you provide a list of specific colors or multiple ranges, which can be useful to create colors representing specific color palettes.
Color Model
When Range Values is Min/Max
, this is the color space for specifying the range of color values.
RGB
Constrain the red, green, and blue component values.
HSV
Restrict the adjustment values to a slice of the hue, saturation, and value wheel.
Relative to Color
The color to which the given color range is relative. 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.
Value Min/Max
The minimum and maximum values of the value component, which captures the brightness.
Color Ramp
When Range Values is Color Ramp
, the intermediate uniformly-distributed value is fed through this ramp to obtain the random color.
See Ramp parameters for more information.
Color Palette
When Range Values is Specific Values
, this is a set of pre-defined color palettes. Select one of these options to populate the Number of Colors parameter with four preset colors.
Number of Colors
When Range Values is Specific Values
, this controls the number of sets of possible random colors. Each set can be a single color or consist of multiple related colors, which the Color # dropdown menu determines.
Color #
The base color for the set. You can also use the dropdown menu to control how the set of colors is derived from the specified base Color #.
Constant
This set includes only the base Color #.
Complementary
This set consists of the base Color # and its complementary color. Complementary colors are opposite to each other on the color wheel.
2 Analogous
This set consists of three colors: the base Color # and its two neighbors around the color wheel.
4 Analogous
This set consists of five colors: the base Color # and its four neighbors around the color wheel.
Triadic
This set consists of three colors: the base Color # and its two neighbors around the color wheel.
Tetradic
This set consists of four colors: the base Color # and its complement, as well as a neighbor for each.
5 Shades
This set contains five colors with varying levels of brightness.
5 Tints
This set contains five colors with varying levels of saturation.
Weight
The weight with which to sample the given adjustment value. Values with a lower Weight are selected less frequently. When all weights are the same, each adjustment value has the same probability.
Angle
The distance to the color’s neighbors on the color wheel.
Distance
The spacing between the colors' varying levels of brightness (for 5 Shades
) or saturation (for 5 Tints
).
Random ¶
Random per Pixel
Sets the random color selection on a 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 a seed
input is wired in, this outputs black color for any pixel where the seed is a negative integer.
Turn this on when you consider negative seed values as part of the background where you don’t want to generate random colors.
Inputs ¶
size_ref
A representative layer that determines the size of the output image and controls the metadata.
min
A layer to control the minimum component limit when Range Values is set to Min/Max
.
max
A layer to control the maximum component limit when Range Values is set to Min/Max
.
ramp
A layer from which to horizontally sample the range colors when Range Values is set to Color Ramp
.
seed
A layer to control the random color distribution.
Outputs ¶
random
The output layer with the random colors applied.
See also |