@classmethod
def from_string(cls, string):
    """
        Converts string "white" or "black" into
        corresponding color

        :type: string: str
        :rtype: Color
        """
    return cls(cls._color_dict[string])
