Liquid variables could be the answer to you problem. Here is the Looker documentation.
If you know a little HTML, you can add an html parameter to a dimension or measure in a view file and alter the appearance based on the resulting value.
For your example above, let’s assume the example_field is a dimension in the view file that you want to make RED when the value is greater than 1.
dimension: example_field {
type: number
sql: ${TABLE}.example_field
html: {% if value > 1 %}
<p style="color: red;">{{ value }}</p>
{% else %}
<p>{{ value }}</p>
{% endif %};;
Hope this helps and here is another place where it is explained well if my reasoning is confusing.