title: Get color value programmatically when it's a reference (theme)
body: <p>Consider this:</p>
  
  <p><strong>styles.xml</strong></p>
  
  <pre><code>&lt;style name="BlueTheme" parent="@android:style/Theme.Black.NoTitleBar"&gt;
      &lt;item name="theme_color"&gt;@color/theme_color_blue&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>attrs.xml</strong></p>
  
  <pre><code>&lt;attr name="theme_color" format="reference" /&gt;
  </code></pre>
  
  <p><strong>color.xml</strong></p>
  
  <pre><code>&lt;color name="theme_color_blue"&gt;#ff0071d3&lt;/color&gt;
  </code></pre>
  
  <p>So the <strong>theme color</strong> is referenced by the theme. How can I get the theme_color (reference) programmatically? Normally I would use <code>getResources().getColor()</code> but not in this case because it's referenced!</p>