code: def LighterColor(self, level):
      '''Create a new instance based on this one but lighter.
  
      Parameters:
        :level:
          The amount by which the color should be lightened to produce
          the new one [0...1].
  
      Returns:
        A grapefruit.Color instance.
  
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25)
      (1.0, 0.75, 0.5, 1.0)
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25).hsl
      (30, 1, 0.75)
  
      '''
      h, s, l = self.__hsl
      return Color((h, s, min(l + level, 1)), 'hsl', self.__a, self.__wreff LighterColor(self, level):
      '''Create a new instance based on this one but lighter.
  
      Parameters:
        :level:
          The amount by which the color should be lightened to produce
          the new one [0...1].
  
      Returns:
        A grapefruit.Color instance.
  
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25)
      (1.0, 0.75, 0.5, 1.0)
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25).hsl
      (30, 1, 0.75)
  
      '''
      h, s, l = self.__hsl
      return Color((h, s, min(l + level, 1)), 'hsl', self.__a, self.__wref)
docs: Create a new instance based on this one but lighter.
  
      Parameters:
        :level:
          The amount by which the color should be lightened to produce
          the new one [0...1].
  
      Returns:
        A grapefruit.Color instance.
  
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25)
      (1.0, 0.75, 0.5, 1.0)
      >>> Color.NewFromHsl(30, 1, 0.5).LighterColor(0.25).hsl
      (30, 1, 0.75)