Skip to main content

Default Dynamic Colors

The following colors are applied automatically when progress coloring is enabled (the default): Each color case is shown below.
Red Gantt task bar for an unresolved work item whose end date is in the past, marking it overdue
Orange Gantt task bar for an unresolved work item whose end date is in the future but whose progress is behind schedule, marking it delayed
Blue Gantt task bar for an unresolved work item whose schedule and progress are on track
Gray Gantt task bar for a resolved (completed) work item
Light blue Gantt task bar for an unscheduled work item whose start date defaults to today
Green Gantt task bar for a project-type item whose schedule is derived from its children
Starting with version 25.10.2, the Gantt chart visually flags tasks in red when the assigned user has no available working days during the scheduled period. This helps planners immediately identify unrealistic schedules caused by calendar conflicts.
Gantt task flagged red because the assigned user has no available working days during the scheduled period

Color Decision Flow

diagram

Static vs. Dynamic Coloring

There are two task color properties with different behavior:
Use task.taskColor when you want to keep progress-based color indicators (red for overdue, orange for delayed, gray for resolved). Use task.color only when you want to force a specific color regardless of progress status.

Disabling Dynamic Colors

To use fully static coloring where only task.color values from the Item Script determine task bar colors, add the following to the Gantt Config Script:
When show_progress_colors is set to false, the Gantt chart does not apply the automatic red/orange/blue/gray coloring. Only colors explicitly set via task.color in the Item Script are used.

Script-Based Color Overrides

Color by Type and Status

Use task.color for fully static coloring (requires gantt.config.show_progress_colors=false in the Gantt Config Script): Item Script:

Color by Assignee

Use task.taskColor to change the base color while keeping progress indicators: Item Script:

Highlight Overdue Unresolved Items (Static Mode)

When dynamic colors are off, manually flag overdue items: Gantt Config Script:
Item Script:

Resource View Marker Colors

The resource view uses separate color assignments for allocation markers: Resource marker colors are configurable through the resourceMarkersColorConfig with colors and percentages arrays that define threshold breakpoints and corresponding color values.
The percentages array must contain numeric values in ascending order. The colors array must be exactly one element longer than the percentages array. Invalid configurations display error messages in both view mode and wiki editor mode.

Marker CSS Classes

Timeline milestone markers receive CSS classes based on their type:

Configuration Example

A complete setup combining static coloring with custom color logic: Gantt Config Script:
Item Script:
Last modified on July 10, 2026