Thank you for your reply. I have defined project colours as per your indications. This is useful when I have a new layer and I want to choose from the project colour palette, but I don't see how to use it in an expression.
Il giorno mer 6 ott 2021 alle ore 12:45 Harrissou s. <del...@gmail.com> ha scritto: > Hi Dario, > > You can create project colors (in project properties, default colors) > corresponding to your categories) and link to them (see the tip at > https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#id62) > > Regards, > Harrissou > > Le 6 octobre 2021 12:10:08 GMT+02:00, Dario C <dario9...@gmail.com> a > écrit : >> >> Hi, >> Is there any way to assign an ID to a category in order to use the same >> color assigned for other objects? >> >> For instance, I'd like to have in my layout a bar with the same colour of >> a categorized object (at the moment I simply do a copy and paste colour, >> but, of course if I change the colour of the object my bar is not updated). >> >> Thank you in advance >> >
_______________________________________________ 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