How does concatenating 2 different strings with different colors work?

Hi everyone,

I am new to developing stuff for connect iq, what im trying to do is -> [TIME] (red color) system time eg 12:00 (white color). Thanks for anyone that takes their time to help also are there any decent up to date material i can have a look at?