def update_colors(self, colors):
        """Update colors on each widget to the given ones.

        Parameters
        ==========
        colors (list of colors)
            each color is represented by a list of integers
            in the range(256); such integers represent the
            values of the red, green and blue channels of
            the color, respectively; a fourth integer may
            also be present, representing the value of the
            alpha channel of the color.
        """
        ### set given colors on each widget

        for widget, color in zip(self.widgets, colors):
            widget.set_color(color)

        ### display color of current widget in the controls
        ### so it can be seen/edited
        ###
        ### this also has the side-effect of bring the
        ### current widget to the visible area if it isn't
        ### already there
        self.colors_editor.set_color_on_controls(self.current_widget.color)
Update colors on each widget to the given ones.

        Parameters
        ==========
        colors (list of colors)
            each color is represented by a list of integers
            in the range(256); such integers represent the
            values of the red, green and blue channels of
            the color, respectively; a fourth integer may
            also be present, representing the value of the
            alpha channel of the color.
        
nodezator/colorsman/editor/panel/colorsop.py