# How to make keyword colorful in log.html without expanding keyword

**URL:** <https://forum.robotframework.org/t/how-to-make-keyword-colorful-in-log-html-without-expanding-keyword/1284>\
**Category:** Robot Framework\
**Created:** [2 February 2021 09:46 UTC](https://forum.robotframework.org/t/how-to-make-keyword-colorful-in-log-html-without-expanding-keyword/1284 "2021-02-02T09:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![XiaoJian](https://avatars.discourse-cdn.com/v4/letter/x/e480ec/32.png) [@XiaoJian](https://forum.robotframework.org/u/XiaoJian)\
**Post date:** [2 February 2021 09:46 UTC](https://forum.robotframework.org/t/how-to-make-keyword-colorful-in-log-html-without-expanding-keyword/1284/1 "2021-02-02T09:46:55Z")

</div>

While I tried to check log.html, there are so many keywords listed, it always took much time to find keywords which I wanted to check more.  
I’m just thinking if it is feasible to make those keywords colorful as highlight so that it may save much time to locate specific keyword.  
I tried to use ‘Log’ keyword to print message with color in HTML format, but it has to expand ‘Log’ keyword to find color text, that’s not what I want.  
Can someone share the way which is matching my requirement ?

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [2 February 2021 10:34 UTC](https://forum.robotframework.org/t/how-to-make-keyword-colorful-in-log-html-without-expanding-keyword/1284/2 "2021-02-02T10:34:01Z")

</div>

Colorizing the standard rf report, probably not that straight forward way …

But you could try to use `--removekeywords` and/or `--flattenkeywords` arguments for robot itself to just remove the stuff you do not need leaving you the only keywords that you find interesting …

Or, make your own listener or use 3rd party listeners that will generate a report that has details you need/want.
