code: def range(self, count):
          
          if count <= 1:
              raise ValueError("Range size must be greater than 1.")
          dom = self._domain
          distance = dom[-1] - dom[0]
          props = [ self(dom[0] + distance * float(x)/(count-1))
              for x in range(count) ]
          return props
docs: Create a list of colors evenly spaced along this scale's domain.
  
          :param int count: The number of colors to return.
  
          :rtype: list
          :returns: A list of spectra.Color objects.