@app.route('/name/<colur_name>')
def get_colour_by_name(colur_name):
    obj = db.get((tinydb.Query().uriFriendlyName == colur_name))
    if (not obj):
        abort(404)
    return Template(HTML).substitute(obj)
@app.route('/name/<colur_name>')
def get_colour_by_name(colur_name):
    obj = db.get((tinydb.Query().uriFriendlyName == colur_name))
    if (not obj):
        abort(404)
    return Template(HTML).substitute(obj)