I have a polygon layer in which I'm labelling each polygon on the map. I am trying to figure out how to make the label colour match that of the underlying polygon (with a white buffer around the label so as to make it readable against the layer below). Currently all text is black: enter image description here

I know I can enter a QGIS expression that probably works, but not sure what it is! Here's how I can get to the Edit... expression dialog: enter image description here

The list of Color expression options doesn't show anything obvious: enter image description here

Does anyone know how to do this?


1 Answer 1


@symbol_color is the answer!

Thanks to @mrxsquared

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.