How can I put colors in console output with Robot Framework
<p>I would like to put some colors in the console output of RobotFramework.</p>

<p>I tried to use the console color codes like:</p>

<pre><code>${message}=  Set Variable  hello world!
Log To Console  \\e[0;36;49m${message}\\e[0;39;49m
</code></pre>

<p>(In a linux console, <code>echo -e "\e[0;36;49mHello world!\e[0;39;49m"</code> print <code>Hello world!</code> in cyan)</p>

<p>(I also tried with one <code>\</code> and also <code>\033[31m, \033[0m, ...</code> codes)</p>

<p>But it doesn't work...</p>

<p>So, is it possible to do something like:</p>

<pre><code>${message}=  Set Variable  hello world!
Log To Console ${message.red}
</code></pre>

<p>I found <a href="http://robot-framework.readthedocs.org/en/3.0/_modules/robot/output/console/highlighting.html" rel="nofollow">this module</a> but I didn't found anything on how to use it :(</p>

<p>I tried:</p>

<pre><code>Log To Console ${message.red}  robot.output.console.highlighting
</code></pre>

<p>and</p>

<pre><code>${message}=  Evaluate  ${message}.red  robot.output.console.highlighting
Log To Console ${message}
</code></pre>

<p>But none works :'(</p>