
The Function Block COLORGRADIENT calculates a color of a linear gradient.
For the calculation specified position between Color low and Color high. When exceeding or falling below the value, it is limited to Color low or Color high respectively.
Defines the color for the beginning of the gradient. Expects a color as a string in hexadecimal format '#RRGGBB'.
Defines the color for the end of the gradient. Expects a color as a string in hexadecimal format '#RRGGBB'.
Defines the value as a number for the start color of the gradient.
Defines the value as a number for the end color of the gradient.
Returns the calculated color in the gradient as a string in the format '#RRGGBB'.
Returns the calculated red color in the gradient as a number between 0 and 255.
Returns the calculated green color in the gradient as a number between 0 and 255.
Returns the calculated blue color in the gradient as a number between 0 and 255.