def is_color_similar(color1, color2, overlap=0.05):
    """Checks if colors are similar.

    :param tuple[int, int, int] color1: original color.
    :param tuple[int, int, int] color2: color to check.
    :param float overlap: overlap parameter. If colors similarity > overlap then colors are similar.

    :rtype: bool
    """
    r1, g1, b1 = color1
    r2, g2, b2 = color2
    d = ((r1 - r2) ** 2 + (g1 - g2) ** 2 + (b1 - b2) ** 2) ** (1 / 2.0)
    return d / 510 <= overlap