The Gantt supports two coloring modes that determine how task bar colors are applied:Dynamic coloring (default): Task bars display progress-based colors (overdue, progress-due, resolved) that override the default color. Use task.taskColor in the Item Script to change the base color while keeping progress color overrides active.Static coloring: Set gantt.config.show_progress_colors=false in the Gantt Config Script to disable progress-based color overrides. Use task.color in the Item Script to set the final task bar color directly.
In dynamic mode, task.taskColor changes only the default (blue) base color — progress-related colors still override it for overdue or resolved tasks. In static mode, task.color sets the absolute color with no overrides. Mixing them incorrectly produces unexpected results.
The resource view uses color-coded markers to indicate resource allocation levels. The resourceMarkersColorConfig object defines the color scheme:
Property
Type
Default
Description
ok color
String
#4CAF50 (green)
Color for resource markers within capacity. Applied via the marker_ok CSS class.
over color
String
Red/orange gradient
Color for resource markers that exceed capacity. Applied via the marker_over CSS class.
percentages
Array of numbers
See application
Ascending threshold values defining breakpoints for marker color changes.
colors
Array of strings
See application
Color values for each allocation level. Must be one element longer than the percentages array.
The colors array must have exactly one more element than the percentages array. The percentages array must contain numeric values in ascending order. Invalid configurations produce error messages in both view mode and the wiki editor.
The Gantt applies CSS classes to timeline markers based on their type:
CSS Class
Applied To
Description
today
Today marker
The vertical line marking today’s date on the timeline.
plan
Plan markers
Markers synced from plan (iteration) boundaries.
marker_ok
Resource markers
Resource allocation cells within capacity.
marker_over
Resource markers
Resource allocation cells exceeding capacity.
Custom markers defined without a specific color class receive the base marker styling. You can assign a named CSS color class (e.g., blue) to custom markers to override the default appearance.
CSS class names and DOM structure may vary between Gantt versions. Verify the available CSS classes in your specific version. See CSS Classes and DOM Structure for a reference.