How to set the color of text in view mode

import BpmnViewer from ‘bpmn-js/lib/Viewer’;

Sorry, I am not able to find out what you want to achieve by your given information. Please be more precise.