def METHOD_NAME(self, color: list | QColor) -> None:
    """Set the text color for the labels."""
    if isinstance(color, list):
        self._labelCol = QColor(*color)
    elif isinstance(color, QColor):
        self._labelCol = color
    return