def colordiff(rgb1, rgb2):
    """ Computes the Euclidean difference between two RGB color tuples.

    Parameters
    ----------
    rgb1 : numpy.array
        First RGB color
    rgb2 : numpy.array
        Second RGB color

    Returns
    -------
    float
        The Euclidean distance between the two colors.
    """
    r1, g1, b1 = rgb1
    r2, g2, b2 = rgb2
    return (float(r1) - float(r2)) ** 2 + (float(g1) - float(g2)) ** 2 + (float
        (b1) - float(b2)) ** 2
