import math


def _color_distance(first_color: list, second_color: list) -> float:
    """
    Calculate Euclidean distance between components of 2 colors
    :param first_color: first color (RGB tuple of integers)
    :param second_color: second color (RGB tuple of integers)
    :return: Euclidean distance between 'first_color' and 'second_color'
    """
    s = sum((z - w) ** 2 for z, w in zip(first_color, second_color))
    return math.sqrt(s)