'Get the correct color for the token from the style.'

def _get_text_color(self, style):

    if (style['color'] is not None):
        fill = ('#' + style['color'])
    else:
        fill = '#000'
    return fill
