def to(self, space):
        """
        Convert color to a different color space.

        :param str space: Name of the color space.

        :rtype: Color
        :returns: A new spectra.Color in the given color space.
        """
        if space == self.space: return self
        new_color = convert_color(self.color_object, COLOR_SPACES[space])
        return self.__class__(space, *new_color.get_value_tuple())
Convert color to a different color space.

        :param str space: Name of the color space.

        :rtype: Color
        :returns: A new spectra.Color in the given color space.