def update_color_value(self):
        """Update RGB(A) color value and perform setups.

        Also:
            - checks whether to include alpha;
            - updates the color in current color widget
              from the colors panel;
        """
        ### store the rgb color

        color = tuple(scale.get() for scale in self.scale_map["rgb"])

        ### include alpha value in the stored color if
        ### the alpha checkbutton is checked

        if self.alpha_checkbutton.get():
            color += (self.scale_map["alpha"].get(),)

        ### set color in current color widget from the
        ### colors panel
        self.colors_panel.set_current_color(color)
Update RGB(A) color value and perform setups.

        Also:
            - checks whether to include alpha;
            - updates the color in current color widget
              from the colors panel;
        
nodezator/colorsman/editor/widgetop.py