def _linear_gradient(start, finish, n=10):
    """
    returns a gradient list of (n) colors between two hex colors.

    :param start: full six-digit color string, including the hashtag ("#FFFFFF")
    :param finish: full six-digit color string, including the hashtag ("#000000")
    :param n: amount of generated colors (including start_hex and finish_hex)
    """
    # Initialize a list of the output colors with the starting color
    hex_list = [start]
    # Calculate a color at each evenly spaced value of t from 1 to n
    for pos in range(1, n):
        # Interpolate RGB vector for color at the current value of pos and add it to our list of output colors
        hex_list.append([start[j] + (float(pos) / (n - 1)) * (finish[j] - start[j]) for j in range(3)])

    return hex_list