(self, brightness)
return Color(self.red, self.green, self.blue, int(round((self.alpha + 1) * brightness)) - 1)
Brightness is a float between 0 and 1
Brightness is a float between 0 and 1
Brightness is a float between 0 and 1
def get_for_brightness(self, brightness):
        """
        Brightness is a float between 0 and 1
        """
        return Color(self.red, self.green, self.blue, int(round((self.alpha + 1) * brightness)) - 1)
def get_for_brightness ( self , brightness ) : return Color ( self . red , self . green , self . blue , int ( round ( ( self . alpha + 1 ) * brightness ) ) - 1 )