Text and number color change based on the value of number or text

hi i have a dataset connected to my text as I use dropdown as my filter. the number displayed could be positive or negative based on my values at the dataset.

i want to display this value in red and green how can I do it and change automatically based on the value +/-