code: def WebSafeDither(self):
      '''Return the two websafe colors nearest to this one.
  
      Returns:
        A tuple of two grapefruit.Color instances which are the two
        web safe colors closest this one.
  
      >>> c = Color.NewFromRgb(1.0, 0.45, 0.0)
      >>> c1, c2 = c.WebSafeDither()
      >>> str(c1)
      '(1, 0.4, 0, 1)'
      >>> str(c2)
      '(1, 0.6, 0, 1)'
  
      '''
      return (
        Color(Color.RgbToWebSafe(*self.__rgb), 'rgb', self.__a, self.__wref),
        Color(Color.RgbToWebSafe(alt=True, *self.__rgb), 'rgb', self.__a, self.__wref)f WebSafeDither(self):
      '''Return the two websafe colors nearest to this one.
  
      Returns:
        A tuple of two grapefruit.Color instances which are the two
        web safe colors closest this one.
  
      >>> c = Color.NewFromRgb(1.0, 0.45, 0.0)
      >>> c1, c2 = c.WebSafeDither()
      >>> str(c1)
      '(1, 0.4, 0, 1)'
      >>> str(c2)
      '(1, 0.6, 0, 1)'
  
      '''
      return (
        Color(Color.RgbToWebSafe(*self.__rgb), 'rgb', self.__a, self.__wref),
        Color(Color.RgbToWebSafe(alt=True, *self.__rgb), 'rgb', self.__a, self.__wref))
docs: Return the two websafe colors nearest to this one.
  
      Returns:
        A tuple of two grapefruit.Color instances which are the two
        web safe colors closest this one.
  
      >>> c = Color.NewFromRgb(1.0, 0.45, 0.0)
      >>> c1, c2 = c.WebSafeDither()
      >>> str(c1)
      '(1, 0.4, 0, 1)'
      >>> str(c2)
      '(1, 0.6, 0, 1)'