In my capabilities.json I defind an object called color. I'm trying to define it inside my custom visual using :
startingColor: getValue<string>(options.dataViews[0].metadata.objects,'colors','startingColor',"#111111"),
But I'm unable to read the default color, since the visual is not running untill I define a new color in the styling pane.