Dynamically color labels in color of features (QGIS 3.x) [duplicate]

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
This question already has an answer here:
Getting currentfeature's color in Expression Builder of QGIS?
2 answers
How do I dynamically color labels in the color of the labeled feature?
As you can see in the screenshot, the lines are in different colors, but the labels are just in black. As I know, I have to set the label color manually to get my expected result. But is there also a dynamic way to do so? Surely there is, because it‘s QGIS! But I don‘t know how. Any Ideas?

labeling qgis-3
marked as duplicate by underdark♦ Mar 10 at 21:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Getting currentfeature's color in Expression Builder of QGIS?
2 answers
How do I dynamically color labels in the color of the labeled feature?
As you can see in the screenshot, the lines are in different colors, but the labels are just in black. As I know, I have to set the label color manually to get my expected result. But is there also a dynamic way to do so? Surely there is, because it‘s QGIS! But I don‘t know how. Any Ideas?

labeling qgis-3
marked as duplicate by underdark♦ Mar 10 at 21:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Getting currentfeature's color in Expression Builder of QGIS?
2 answers
How do I dynamically color labels in the color of the labeled feature?
As you can see in the screenshot, the lines are in different colors, but the labels are just in black. As I know, I have to set the label color manually to get my expected result. But is there also a dynamic way to do so? Surely there is, because it‘s QGIS! But I don‘t know how. Any Ideas?

labeling qgis-3
This question already has an answer here:
Getting currentfeature's color in Expression Builder of QGIS?
2 answers
How do I dynamically color labels in the color of the labeled feature?
As you can see in the screenshot, the lines are in different colors, but the labels are just in black. As I know, I have to set the label color manually to get my expected result. But is there also a dynamic way to do so? Surely there is, because it‘s QGIS! But I don‘t know how. Any Ideas?

This question already has an answer here:
Getting currentfeature's color in Expression Builder of QGIS?
2 answers
labeling qgis-3
labeling qgis-3
asked Mar 10 at 15:59
MAPMAP
2,49623768
2,49623768
marked as duplicate by underdark♦ Mar 10 at 21:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by underdark♦ Mar 10 at 21:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to use the following expression at the label color:
@symbol_color


Here is the output:

1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to use the following expression at the label color:
@symbol_color


Here is the output:

1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
add a comment |
You need to use the following expression at the label color:
@symbol_color


Here is the output:

1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
add a comment |
You need to use the following expression at the label color:
@symbol_color


Here is the output:

You need to use the following expression at the label color:
@symbol_color


Here is the output:

answered Mar 10 at 16:25
ahmadhanbahmadhanb
23.7k32154
23.7k32154
1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
add a comment |
1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
1
1
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
QGIS rocks again and again!
– MAP
Mar 10 at 18:25
add a comment |