title: Changing color of renderText based on a condition
body: <p>server.R</p>
  
  <pre><code>reference &lt;- input$a * input$b (More complex formula)
  
  output$text &lt;- rendertext({
  if(reference &gt; 20)
  # Some text in red
  else
  # Some text in green
  )}
  </code></pre>
  
  <p>I tried using conditionalPanel but it does not let me change panels based on
  a reactive output.</p>
  
  <p>Thanks in advance</p>