def set_color_scheme(self, foreground_color, background_color):
        """Set color scheme (foreground and background)."""
        if dark_color(foreground_color):
            self.default_foreground_color = 30
        else:
            self.default_foreground_color = 37

        if dark_color(background_color):
            self.default_background_color = 47
        else:
            self.default_background_color = 40
def set_color_scheme ( self , foreground_color , background_color ) : if dark_color ( foreground_color ) : self . default_foreground_color = 30 else : self . default_foreground_color = 37 if dark_color ( background_color ) : self . default_background_color = 47 else : self . default_background_color = 40
Set color scheme (foreground and background).