I am trying to set the opacity of filling a vector function in OL3 and cannot figure out how to do this if I have a hexadecimal value ... I saw examples with rgba. Any suggestions?
Here is what I have:
style : function(feature, resolution) { return [new ol.style.Style( { stroke : new ol.style.Stroke( { color : feature.get('color'), width : 2 }), fill : new ol.style.Fill( { color : feature.get('color'),
source share