def get_metric_mapping(db):
    results = db.execute('SELECT name, id FROM metric_names').fetchall()
    return dict(results)
This is the hex code of the current color, html style notation.
dataset/ETHPy150Open Yelp/git-code-debt/git_code_debt/logic.py/get_metric_mapping--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Color.hex_code