code: def colorspace(self, space):
          
          new_colors = [ c.to(space) for c in self.colors ]
          return self.__class__(new_colors, self._domain)
docs: Create a new scale in the given color space.
  
          :param str space: The new color space.
  
          :rtype: Scale
          :returns: A new color.Scale object.