diff --git a/module/task/ui/view.html.php b/module/task/ui/view.html.php
index 5ba229c1d9..6bb32b7a7a 100644
--- a/module/task/ui/view.html.php
+++ b/module/task/ui/view.html.php
@@ -39,8 +39,8 @@ detailHeader
span(setClass('label gray-pale rounded-xl'), $lang->task->childrenAB),
a(set::href(createLink('task', 'view', "taskID={$task->parent}")), $task->parentName),
span('/'),
- $task->name
- ) : $task->name
+ span(setStyle(array('color' => $task->color)), $task->name)
+ ) : span(setStyle(array('color' => $task->color)), $task->name)
)
),
!isAjaxRequest('modal') && common::hasPriv('task', 'create') ? to::suffix(btn(set::icon('plus'), set::url(createLink('task', 'create', "executionID={$task->execution}")), set::type('primary'), $lang->task->create)) : null