def _lightest(self):
        
        """ Returns the lightest swatch.
        """
        
        rgb, n = (0.0, 0.0, 0.0), 0.0
        for r,g,b in self:
            if r+g+b > n:
                rgb, n = (r,g,b), r+g+b
        
        return rgb
def _lightest ( self ) : rgb , n = ( 0.0 , 0.0 , 0.0 ) , 0.0 for r , g , b in self : if r + g + b > n : rgb , n = ( r , g , b ) , r + g + b return rgb
Returns the lightest swatch.