def to_dp(self):
        """
        Convert to darkplaces color format
        :return:
        """
        text = self.text.replace('^', '^^')
        return '%s%s' % (self.color.to_dp(), text)
Convert to darkplaces color format
        :return: