def color(depth):
    """color by depth level.

    :rtype: str
    :return: hex color code based blue.
    :param int depth: dependency level
    """
    color_table = ['#d1e0fa', '#a4c1f4', '#76a1ef', '#4882ea', '#1b63e4',
        '#154fb7', '#103b89', '#0b285b', '#05142e']
    if depth >= len(color_table):
        depth = len(color_table) - 1
    return color_table[depth]
