def colour2fgbg(colour):
    """
    Pairs foreground colour with background colour
    """
    colour = colour.lower()
    colour_list = ['red', 'orange', 'yellow', 'green', 'blue', 'purple']
    colour_list += ['brown', 'black', 'grey', 'gray', 'white']
    assert colour in colour_list
    fg = colour
    if fg == 'red':
        bg = 'pale-red'
    elif fg == 'orange':
        bg = 'sand'
    elif fg == 'yellow':
        bg = 'pale-yellow'
    elif fg == 'green':
        bg = 'pale-green'
    elif fg == 'blue':
        bg = 'pale-blue'
    elif fg == 'purple':
        bg = 'pale-red'
    elif fg == 'brown':
        bg = 'khaki'
    elif fg == 'black':
        bg = 'gray'
    elif fg == 'gray' or fg == 'grey':
        fg = 'gray'
        bg = 'light-gray'
    elif fg == 'white':
        bg = 'white'
    return fg, bg
