def identifier_from_unique_color(unique_color):
    """Return identifier from unique RGB tuple.

    :param unique_color: RGB tuple
    :returns: positive integer in range from 0 to 16777215 inclusive
    """
    red, green, blue = unique_color
    red_factor = 256 * 256
    green_factor = 256
    return red * red_factor + green * green_factor + blue
