I want to fill and outline polygons by using a field that contains HEX codes as a string, e.g. #99d594, as well as set the fill opacity to 25%.
I'm able to set the colours with the right field through the Data defined override option (Data defined override button > Field type: string > select field):
Having the fill and outline colours set, I want to set a 25% opacity to the fill. But it displays at 100% opacity even when the opacity is set at 25%.
Below the opacity setting doesn't reflect on the map when I set the fill colour with a string field:
How do I ensure that the opacity reflects when I define a fill colour with a string field?
RESULT AFTER I TESTED THE ANSWER FROM J. Monticolo:
🎉🙌
rgba
values, which include transparency?