def showFgPicker(self, message=None):
        """ Returns the color picked by the user
        """
        # Draw foreground colors 1-5 in a panel.
        # Run an input loop to let user use mouse or keyboard
        # to select color (arrows and return). Then return the
        # selected color.
        self.hidden = False
        color = self.handler.showFgPicker(message=message)
        if not self.caller.appState.sideBarShowing:
            self.hide()
        return color
 Returns the color picked by the user
        
durdraw/durdraw_ui_widgets.py