Color Palette Designer

Creates a customizable color palette for categorical values or column names. Colors can be assigned automatically using a base palette or explicitly defined for specific values or names.
Assignment behavior:

  • For categorical values, all unique values across the selected columns are combined, sorted in natural order, and assigned colors accordingly.
  • For column names, colors are assigned based on their order in the input table.
Note: Explicit assignments take precedence. Unmatched values or names are assigned colors from the base palette.

Options

Apply color to
Determine where to apply the color mapping to:
  • Values in columns: Apply the colors to the unique values in the selected columns.
  • Column names: Apply the colors to the column names of the input table.
Categorical columns
Specify one or more category columns whose unique values will be colorized. When multiple columns are selected, the palette spans the combined set of unique values.
Base palette
Colors are assigned from this palette in the order listed. If the number of values exceeds the number of colors, the palette is repeated.
  • Custom: Define a personalized color palette.
  • Brewer Set 1 (9 colors)
  • Brewer Set 2 (8 colors)
  • Brewer Set 3 (12 colors)
  • Brewer Pastel1 (9 colors)
  • Brewer Pastel 2 (8 colors)
  • Brewer Paired (12 colors)
  • Brewer Accent (8 colors)
  • Brewer Dark 2 (8 colors)
  • Color Universal Design (7 colors): (colorblind safe)
Custom palette
Enter colors in the desired order. These colors are used for automatic mapping and repeat if more values exist than listed colors.
  • Color: Specify the color to be used in the custom palette.
Assigned colors
Define specific color assignments for particular values (or column names). These assignments take precedence over the base palette.
  • Color: Specify the color to be used for the corresponding value.
  • Matching value: Enter the exact value (or column name) that should receive the assigned color.
Missing value color
Define the color assigned to missing values in the data.

Input Ports

Icon
Input table containing category columns to which colors will be applied. At least one column with a categorical domain is required for value-based coloring.

Output Ports

Icon
A color palette object containing all color mappings.
Icon
  • For value-based coloring: Returns the input table with color handlers added to the selected columns.
  • For column name coloring: The table itself remains unchanged, but color information for column names is included in the output.

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.