Color Gradient Designer

Creates a customizable gradient-based color mapping for numeric values. Colors are assigned by mapping each value to a position on a selected or user-defined gradient. If a table is connected, the same gradient will be applied to all selected columns.

Assignment behavior:

Values are colorized based on their position within the chosen gradient scale. Special values such as missing values, NaN, infinities, or out-of bounds values can be assigned specific colors.

Modes:

  • Without input table: Generates a standalone color gradient model that needs to be applied later via the Color Designer (Apply) node.
  • With input table: Applies the gradient directly to the selected columns of the input table. If the columns have defined domains, their joint domain will be used to map values to the color gradient. For columns without domain, the node will compute a temporary domain during execution.

Options

Numeric columns
Specify one or more numeric columns whose values will be mapped to a color gradient. The same gradient configuration will be applied to all selected columns.
Gradient
Choose a predefined gradient (e.g., Viridis, Cividis) or define a custom gradient by specifying individual color stops.
Value scale
Select how values should be scaled across the gradient range:
  • Percentage: Map values based on normalized percentage from 0% (minimum) to 100% (maximum). If the node has an input port, during execution, the joint domain of the selected columns will be used to transform the scale into an absolute scale.
  • Absolute values: Map values based on their actual numeric values without normalization.
Custom gradient
Define your own gradient using one or more color stops. Each stop consists of a value and a color.
  • Stop value: The position of the color stop along the gradient range.
  • Color: The color to apply at the specified stop.
Missing value color
Define the color assigned to missing values in the data.
Not a number (NaN) color
Define the color assigned to NaN (Not a Number) values in the data.
Negative infinity color
Define the color assigned to values representing negative infinity.
Bottom out-of-bounds color
Define the color assigned to values below the defined gradient range.
Top out-of-bounds color
Define the color assigned to values above the defined gradient range.
Positive infinity color
Define the color assigned to values representing positive infinity.

Input Ports

Icon
Input table containing numeric columns to which colors will be applied. At least one numerical column is required for percentage-based coloring.

Output Ports

Icon
A color gradient object containing the gradient definition.
Icon
Returns the input table with color handlers added to the selected columns.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.