Zend certified PHP/Magento developer

Is it possible to use default Magento colorPicker in ‘Update Attributes’ action?

I am trying to use default Color Picker component of Magento.

If I edit products individually the color picker works perfectly. Once I try the update attributes action from Catalog->Products page I get:

1 exception(s):
Exception #0 (ReflectionException): Class colorPicker does not exist

Exception #0 (ReflectionException): Class colorPicker does not exist
#1 MagentoFrameworkCodeReaderClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:49]
#2 MagentoFrameworkObjectManagerDefinitionRuntime->getParameters() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:100]
#3 MagentoFrameworkObjectManagerFactoryCompiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 MagentoFrameworkObjectManagerObjectManager->create() called at [vendor/magento/framework/Data/Form/Element/Factory.php:81]
#5 MagentoFrameworkDataFormElementFactory->create() called at [vendor/magento/framework/Data/Form/AbstractForm.php:155]
#6 MagentoFrameworkDataFormAbstractForm->addField() called at [vendor/magento/framework/Data/Form/Element/Fieldset.php:214]
#7 MagentoFrameworkDataFormElementFieldset->addField() called at [vendor/magento/module-backend/Block/Widget/Form/Element/ElementCreator.php:55]
#8 MagentoBackendBlockWidgetFormElementElementCreator->create() called at [vendor/magento/module-backend/Block/Widget/Form.php:193]
#9 MagentoBackendBlockWidgetForm->_setFieldset() called at [vendor/magento/module-catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php:90]
#10 MagentoCatalogBlockAdminhtmlProductEditActionAttributeTabAttributes->_prepareForm() called at [vendor/magento/module-backend/Block/Widget/Form.php:156]
#11 MagentoBackendBlockWidgetForm->_beforeToHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1096]
#12 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1101]
#13 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671]
#14 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/module-backend/Block/Widget/Tabs.php:492]
#15 MagentoBackendBlockWidgetTabs->getTabContent() called at [vendor/magento/module-backend/view/adminhtml/templates/widget/tabs.phtml:58]
#16 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#17 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/View/Element/Template.php:271]
#18 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:301]
#19 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#20 MagentoBackendBlockTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1097]
#21 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1101]
#22 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671]
#23 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#24 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:533]
#25 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#26 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#27 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#28 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#29 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#30 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#31 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#32 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#33 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#34 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#35 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#36 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#37 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#38 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#39 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#40 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#41 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#42 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#43 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#44 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#45 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#46 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#47 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:954]
#48 MagentoFrameworkViewLayout->getOutput() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:37]
#49 MagentoFrameworkViewLayoutInterceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258]
#50 MagentoFrameworkViewResultPage->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#51 MagentoFrameworkViewResultLayout->renderResult() called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:24]
#52 MagentoBackendModelViewResultPageInterceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141]
#53 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#54 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:40]

I have in my InstallData:

$eavSetup->addAttribute($entityTypeId, $attribute, [
    'type'                       => 'text',
    'input'                      => 'colorPicker',
    'label'                      => 'Colour',
    'default'                    => '#000',
    'user_defined'               => 1,
    'searchable'                 => 0,
    'visible'                    => true,
    'visible_on_front'           => 0,
    'visible_in_advanced_search' => 0,
    'group'                      => $customGroupName,
    'sort_order'                 => 20,
    'required'                   => false,
    'global'                     => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
    'filterable'                 => false,
    'comparable'                 => false,
    'used_in_product_listing'    => true,
    'unique'                     => false,
]);