def add_alpha(colors):
    """
    Add the default alpha value 1 to every color in a list or dictionary of colors
    
    Parameters
    ----------
    colors: list or dictionary

    Returns
    -------
    list or dictionary of colors with alpha channel value
    """

    if colors is type(dict):
        alpha = []
        for i in range(len(colors['red'])):
            alpha.append(1)
        colors['alpha']=alpha
    if colors is type(list):
        for i in range(len(colors)):
            colors[i].append(1)
    return colors