Gradient Generator
Creates an interpolated color gradient based on a list of input colors and a number of steps.
Overview
Creates an interpolated color gradient based on a list of input colors and a number of steps.
Inputs (2)
- Colors (Colour): List of input colors to interpolate
- Steps (Integer): Number of output colors to generate
Outputs (1)
- Generated Colors (Colour): The interpolated list of colors
Method, assumptions and simplifications
The same notes appear in the component's Info output.
Method
- Outputs Steps colours spread evenly from the first to the last input colour, interpolating linearly in RGB between neighbouring input colours.
- With no Colors, uses blue to red; Steps below 1 become 1.
Assumptions
- Input colours are listed from low to high.
Simplifications and limits
- Alpha is dropped (opaque output); RGB interpolation, not perceptual.