def choose_color_according_to_operations_type(operations_parent_name):
    """
    Returns a colour to colour the operations list in the gui according to the type they belong to
    :param operations_parent_name: Name of operation (it included the type)
    :return: The colour
    """
    colour = [255, 255, 255, 100]
    if 'Sources' in operations_parent_name:
        colour = [0, 0, 255, 100]
    elif 'Transforms' in operations_parent_name:
        colour = [0, 255, 0, 100]
    elif 'Sinks' in operations_parent_name:
        colour = [255, 0, 0, 100]
    return colour