title: (Automatically) display hexadecimal strings in RStudio console in their respective color?
body: <p>I am aware that packages like <code>crayon</code> can make the RStudio console output appear in all kinds of colors when manually asked to do so with functions such as <code>blue()</code> (<a href="https://github.com/r-lib/crayon" rel="nofollow noreferrer">https://github.com/r-lib/crayon</a>).</p>
  <p>What would really be awesome, however, would be a package or RStudio Addin that automatically colors strings in the console if they are color character names or hexadecimal strings. Take this vector as an example:</p>
  <pre><code>c(&quot;blue&quot;, &quot;#ff00ff&quot;, &quot;#CCE6FF&quot;)
  </code></pre>
  <p>printing it in the console would look like this
  <a href="https://i.stack.imgur.com/iaS6K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iaS6K.png" alt="enter image description here" /></a></p>
  <p>Is there a way to make this happen?</p>
  <p><strong>EDIT:</strong> Apparently not - see my reply to this question.</p>