This is an old revision of the document!
Q: In my screen widget I want the register values have custom colour.
The register values in the WebHMI are coloourized using this rule: it is either default value color, or the color defined in the register state. there is a default colour register value style which overrides text widget styles for values..
the value colour can be either STATE COLOR or DEFAULT VALUE color.
So, to make your register value of desired colour, set a STATE for the register with the colour for this state. Then the register will have the colour you want