Check with my code,

    $list =  $this->getRequest()->getParam('list', false);
    $filter_ids = explode(",",$list);
    $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
    $productcollection = $objectManager->create('Magento\Catalog\Model\ResourceModel\Product\CollectionFactory');
    $categoryProducts =  $productcollection->create()->addAttributeToSelect('*')->addAttributeToFilter(
            array(
                array('attribute'=> 'color','in' => $filter_ids),
                array('attribute'=> 'system','in' => $filter_ids),
            )
        );