def find_color(value):
    """Finds glyph name from index.

    Parameters
    ----------
    value: variable
        Either value specifiying a preset colour
        or tuple defining specific (r,g,b) colour.
    """
    if value is tuple:
        return value
    else:
        colordict = {'blue': ( 25/255.0, 101/255.0, 176/255.0),
                     'l_blue': ( 82/255.0, 137/255.0, 199/255.0),
                     'green': ( 78/255.0, 178/255.0, 101/255.0),
                     'l_green': (144/255.0, 201/255.0, 135/255.0),
                     'red': (220/255.0,   5/255.0,  12/255.0),
                     'orange': (232/255.0,  96/255.0,  28/255.0),
                     'l_orange': (241/255.0, 147/255.0,  45/255.0),
                     'vl_orange': (246/255.0, 193/255.0,  65/255.0),
                     'yellow': (247/255.0, 238/255.0,  85/255.0),
                     'purple': (136/255.0,  46/255.0, 114/255.0),
                     'l_purple': (177/255.0, 120/255.0, 166/255.0),
                     'vl_purple': (214/255.0, 193/255.0, 222/255.0),
                     'grey': (119/255.0, 119/255.0, 119/255.0),
                     'vl_grey': (230/255.0, 230/255.0, 230/255.0),
                     'black': (0, 0, 0),
                     'white': (1, 1, 1)}
        return colordict[value]