def color(self, value):
        """
        Setter for **self.__color** attribute.

        :param value: Attribute value.
        :type value: QColor
        """

        if value is not None:
            assert type(value) is QColor, "'{0}' attribute: '{1}' type is not 'QColor'!".format("color", value)
        self.__color = value
        self.__set_style_sheet()