title: How to change Maya UI text font color?
body: <p>I want to change the font color of a text in an UI, but it's seems that there is nothing in <a href="http://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/CommandsPython/text.html" rel="nofollow noreferrer">the text command doc</a> to do this. It's possible to change the background color, but nothing about the font itself.</p>
  
  <p>I searched around the internet and found this code to change a button text color using PyQt (<a href="http://forums.cgsociety.org/showthread.php?p=7751492#post7751492" rel="nofollow noreferrer">source</a>).</p>
  
  <pre><code>import maya.OpenMayaUI as omUI
  from PyQt4 import QtGui
  import sip
  bt = sip.wrapinstance(long(omUI.MQtUtil.findControl(_the_button_name_)), QtGui.QPushButton)
  bt.setStyleSheet('QPushButton {color: yellow}')
  </code></pre>
  
  <p>So, I have two questions:</p>
  
  <p>First, what should I use, instead of <code>QPushButton</code>, to edit the color of a  text control, and two, the button color here is changed to <code>'yellow'</code> and I'd like to change it to a custom color value, is there a way to also do this?</p>
  
  <p>Thanks in advance!</p>