def color_sorter(rgba_color):
        """Return tuple w/ requested properties from color.

        Parameters
        ==========
        rgba_color (list of integers)
            integers are in the range(256) and represent
            values from red, green and blue channels,
            respectively;
            a fourth integer may also be present, representing
            the value of the alpha channel of the color.
        """
        ### return a tuple with the values of each requested
        ### property

        return tuple(
            ## using the name of the property, get a function
            ## to retrieve such property from the color, passing
            ## the color to the function...
            PROPERTY_GETTER_MAP[property_name](rgba_color)
            ## ...for each listed property
            for property_name in property_names
        )
Return tuple w/ requested properties from color.

        Parameters
        ==========
        rgba_color (list of integers)
            integers are in the range(256) and represent
            values from red, green and blue channels,
            respectively;
            a fourth integer may also be present, representing
            the value of the alpha channel of the color.
        
nodezator/ourstdlibs/color/utils.py