Label layer as symbol colors with QGIS 3
Using QGIS 3.4.5, you can write @symbol_color
in the data defined override for coloring the text:
- Go to Data defined override -> Edit
- Write the following:
@symbol_color
- Use buffer around the text to see the label
- Output: