View bound to multiple parameters

I have a view (a CTextLabel) which needs to be controlled (= bound) to 2 parameters:

  • the first parameter is the value that needs to be displayed (in this case a volume level in dB)
  • the 2nd parameter is the color of the text (red/orange/green)

as seen in this screenshot
Screen Shot 2018-06-03 at 08.51.56.png
How would I go about implementing something like this?

Thanks
Yan

Hi,
I think the best approach is to use a sub controller for the second parameter.

Cheers,
Arne