def get_vim_color(color):
    if color.startswith('#'):
        if len(color) == 7:
            return color
        else:
            return '#%s0' % '0'.join(color)[1:]
    return COLORS.get(color.lower())
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Pygments-1.3.1/scripts/vim2pygments.py/get_vim_color/original