# How to change the word's color in string

The picture I load is my target:

This is my code in mathematica

    StringTemplate["Ratio is ,Ratio is ,Ratio is ,"][
Sequence @@
Flatten@Transpose[{{Style["red", Red, Bold],
Style["green", Green, Bold], Style["blue", Blue, Bold]}, {0.1,
0.2, 0.3}}]]


But the result is

What's problem in my code?Can Anybody give some advice?

• Try the option InsertionFunction -> (ToString[#, TraditionalForm] &) – Chip Hurst Dec 1 '15 at 18:03
• If the expression need not be a string, you could use Row. – Chip Hurst Dec 1 '15 at 18:05
• – Quantum_Oli Dec 1 '15 at 18:37
• @ChipHurst that should be an answer. Perhaps more compact if you use InsertionFunction -> (ToString[Style@@#, TraditionalForm] &), then you can omit the Style from each list item. – george2079 Dec 1 '15 at 20:05
• @Chip Hurst Thanks very much. – yode Dec 2 '15 at 2:22

Row@MapThread[