How we can use addColorPicker in Grafana 7 Editor Panel?

Hello Everyone,

I am building new plugin using grafana 7 and i want to use addColorPicker method in setPanelOptions but i am not getting the exact syntax for that how i can set the multiple option of colors in array form.
I am using below code but not getting the expected output
.addColorPicker({
path: ‘statusColor’,
name: ‘Assgined’,
defaultValue : ‘Assigned’,
settings: {
options: [
{
value: ‘#000000’,
label: ‘Black’,
},
{
value: ‘#ffffff’,
label: ‘White’,
},
{
value: ‘#f2fwfs’,
label: ‘blue’,
},
],
}
})

Could anyone help for correct syntax for addColorPicker in grafna editor.

Thanks in Advance.