Bash printing color codes literally and not in actual color
<p>For some reason my shell script stopped printing my menu in color and is actually printing the literal color code instead. Did I somehow escape the color coding? </p>

<p><strong>Script</strong></p>

<pre><code>#!/bin/bash 

function showEnvironments {
echo -e "\e[38;5;81m"
echo -e "      SELECT ENVIRONMENT       "
echo -e "[1] - QA"
echo -e "[2] - PROD"
echo -e "\e[0m"
}

showEnvironments
</code></pre>

<p><strong>Output</strong></p>

<blockquote>
  <p>\e[38;5;81m</p>
  
  <p>SELECT ENVIRONMENT</p>
  
  <p>[1] - Staging</p>
  
  <p>[2] - QA</p>
  
  <p>\e[0m</p>
</blockquote>

<p>I am using iTerm on Mac OSX and the <code>TERM</code> environment variable is set to <code>xterm-256color</code>.</p>