'Set the :attr:`color` of a :attr:`label`.
:param label: Label on the main dialog.
:type: :class:`PyQt4.QtGui.QLabel`
:param color: Color to be set on the label.
:type color: str'

def set_label_color(self, label, color):

    if (color == 'GREEN'):
        rgb = '#37b158'
    elif (color == 'RED'):
        rgb = '#e27867'
    elif (color == 'BLACK'):
        rgb = '#b1b1b1'
    else:
        rgb = '#ffffff'
    label.setStyleSheet(('QLabel    {color:    %s}' % rgb))
