Hi,
You have use custome js and css to do that. Please refer below answer for writing js and css. You need to customize according your requirement:
https://answers.splunk.com/answers/588394/change-the-color-of-rows-in-a-table-based-on-text-1.html
Hey
Can you take a look at rangemap command?
https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Rangemap