Hi Bernd You might be looking for the @symbol_color variable ( https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/expression.html?highlight=symbol_color#variables-functions )
Regards, Harrissou Le 10 juin 2019 21:11:18 GMT+02:00, Bernd Vogelgesang < bernd.vogelges...@gmx.de> a écrit : > > Hi, > > is there an "easy" way to somehow show the label of a line in the same > colour as the line itself? > > I have a layer of 50somewhat lines which mark overlapping areas. To be > able to better differenciate between those on a map, I would like to > give the labels of the line feature the same colours as the lines > themselves (sounds reasonabe). > > The lines are just random coloured as categorical by their unique name. > Can I somehow get the information of the line colour, so I can set the > label colour data-driven by some expressions or so? > > Cheers, > > Bernd > ------------------------------ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > >
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user