<div dir="ltr"><div>Hi Bernd<br>You might be looking for the @symbol_color variable (<a href="https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/expression.html?highlight=symbol_color#variables-functions">https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/expression.html?highlight=symbol_color#variables-functions</a>)</div><div><br></div><div>Regards,</div><div>Harrissou<br></div><div><br><div class="gmail_quote">Le 10 juin 2019 21:11:18 GMT+02:00, Bernd Vogelgesang <<a href="mailto:bernd.vogelgesang@gmx.de" target="_blank">bernd.vogelgesang@gmx.de</a>> a écrit :<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<pre class="m_-5813829243310323536k9mail">Hi,<br><br>is there an "easy" way to somehow show the label of a line in the same<br>colour as the line itself?<br><br>I have a layer of 50somewhat lines which mark overlapping areas. To be<br>able to better differenciate between those on a map, I would like to<br>give the labels of the line feature the same colours as the lines<br>themselves (sounds reasonabe).<br><br>The lines are just random coloured as categorical by their unique name.<br>Can I somehow get the information of the line colour, so I can set the<br>label colour data-driven by some expressions or so?<br><br>Cheers,<br><br>Bernd<hr>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre></blockquote></div></div></div>