Dashboards & Visualizations

How to change font-color instead of background color using colorpallette?


I have a dashboard with positive and negative values. I contains the difference with the month before. I want the fonts color green if value is negative and red if positive.

I've come to this:


<format type="color" field="verschil tov vorige maand">
<colorPalette type="expression">if (like(value,"%-%"),"#0E9421","#EC6521")</colorPalette>


but this is changing the background color and I want to change the font color.

Any idea if it is possible to change the font-color in a similar way?

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...