Hi Thomas,
Follow below steps:
1. Add additional field into your list structure with data element WDUI_TEXT_VIEW_DESIGN
2. Change the filed description.
CLEAR ls_field_def.
ls_field_def-name = give field name which you want to change color.
ls_field_def-cell_design_ref = 'DESIGN' . " name of the filed i.e. newly added field name with data "element WDUI_TEXT_VIEW_DESIGN
APPEND ls_field_def TO CT_FIELD_DESCRIPTION.
3. Set the value to 'DESIGN' field in ct_data at runtime with below values.
00 emphasized
11 groupTitle
01 header1
02 header2
03 header3
04 header4
05 label
06 label_small
07 legend
Regards,
Ragavendra